[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130328.143054.1501826894226585575.davem@davemloft.net>
Date: Thu, 28 Mar 2013 14:30:54 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: daveo@...mit.edu, ecashin@...aid.com, macro@...ux-mips.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] aoe: reserve enough headroom on skbs
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 27 Mar 2013 21:28:41 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...mit.edu>
> Tested-by: David Oostdyk <daveo@...mit.edu>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists