[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180517.170736.1069647347006753023.davem@davemloft.net>
Date: Thu, 17 May 2018 17:07:36 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: willemdebruijn.kernel@...il.com
Cc: netdev@...r.kernel.org, willemb@...gle.com
Subject: Re: [PATCH net v2] net: test tailroom before appending to linear
skb
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
Date: Thu, 17 May 2018 13:13:29 -0400
> From: Willem de Bruijn <willemb@...gle.com>
>
> Device features may change during transmission. In particular with
> corking, a device may toggle scatter-gather in between allocating
> and writing to an skb.
>
> Do not unconditionally assume that !NETIF_F_SG at write time implies
> that the same held at alloc time and thus the skb has sufficient
> tailroom.
>
> This issue predates git history.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Reported-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
>
> ---
>
> v2: fix ipv4 boundary condition
Applied and queued up for -stable, thanks Willem.
Powered by blists - more mailing lists