android_kernel_google_msm/drivers/block/aoe
Eric Dumazet d97bcfae8b aoe: reserve enough headroom on skbs
[ Upstream commit 91c5746425 ]

Some network drivers use a non default hard_header_len

Transmitted skb should take into account dev->hard_header_len, or risk
crashes or expensive reallocations.

In the case of aoe, lets reserve MAX_HEADER bytes.

David reported a crash in defxx driver, solved by this patch.

Reported-by: David Oostdyk <daveo@ll.mit.edu>
Tested-by: David Oostdyk <daveo@ll.mit.edu>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ed Cashin <ecashin@coraid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-05 10:04:40 -07:00
..
aoe.h aoe: do not call bdi_init after blk_alloc_queue 2013-01-17 08:50:53 -08:00
aoeblk.c aoe: do not call bdi_init after blk_alloc_queue 2013-01-17 08:50:53 -08:00
aoechr.c switch device_get_devnode() and ->devnode() to umode_t * 2012-01-03 22:54:55 -05:00
aoecmd.c aoe: reserve enough headroom on skbs 2013-04-05 10:04:40 -07:00
aoedev.c aoe: don't use flush_scheduled_work() 2010-10-28 06:15:26 -06:00
aoemain.c
aoenet.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
Makefile drivers/block/aoe/Makefile: replace the use of <module>-objs with <module>-y 2011-01-19 08:25:02 -07:00