linux_old1/drivers/block/aoe
Eric Dumazet 91c5746425 aoe: reserve enough headroom on skbs
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>
2013-03-28 14:29:47 -04:00
..
Makefile drivers/block/aoe/Makefile: replace the use of <module>-objs with <module>-y 2011-01-19 08:25:02 -07:00
aoe.h aoe: update internal version number to 81 2012-12-17 17:15:26 -08:00
aoeblk.c aoe: use dynamic number of remote ports for AoE storage target 2012-12-17 17:15:25 -08:00
aoechr.c aoe: whitespace cleanup 2012-12-17 17:15:24 -08:00
aoecmd.c aoe: reserve enough headroom on skbs 2013-03-28 14:29:47 -04:00
aoedev.c aoe: fix use after free in aoedev_by_aoeaddr() 2012-12-17 17:15:26 -08:00
aoemain.c aoe: whitespace cleanup 2012-12-17 17:15:24 -08:00
aoenet.c aoe: allow comma separator in aoe_iflist value 2012-12-17 17:15:26 -08:00