summaryrefslogtreecommitdiff
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-03-27 18:28:41 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-03-28 18:29:47 (GMT)
commit91c5746425aed8f7188a351f1224a26aa232e4b3 (patch)
treeca4e9973e799ff90633b213556db45b19271c57c /net/wireless/core.h
parent30de83a00d4e801741cd974fa6a75c77b3a579e6 (diff)
downloadlinux-fsl-qoriq-91c5746425aed8f7188a351f1224a26aa232e4b3.tar.xz
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>
Diffstat (limited to 'net/wireless/core.h')
0 files changed, 0 insertions, 0 deletions