From: Eric Dumazet Date: Wed, 27 Mar 2013 18:28:41 +0000 (+0000) Subject: aoe: reserve enough headroom on skbs X-Git-Tag: v3.2.43~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fc00369c63e7380dc4b3ec34bacb2af4a79e748;p=pandora-kernel.git 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 Tested-by: David Oostdyk Signed-off-by: Eric Dumazet Cc: Ed Cashin Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed