summaryrefslogtreecommitdiff
path: root/crypto/cbc.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-03-27 18:28:41 +0000
committerBen Hutchings <ben@decadent.org.uk>2013-04-10 03:20:13 +0100
commit9fc00369c63e7380dc4b3ec34bacb2af4a79e748 (patch)
tree3269c48ebcae91abcbf46b368b447ae3da47e842 /crypto/cbc.c
parent905de42d8653f10c94025f26597c1c2178629713 (diff)
downloadlinux-stable-9fc00369c63e7380dc4b3ec34bacb2af4a79e748.tar.gz
aoe: reserve enough headroom on skbs
[ Upstream commit 91c5746425aed8f7188a351f1224a26aa232e4b3 ] 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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'crypto/cbc.c')
0 files changed, 0 insertions, 0 deletions