Files
twx-linux/net/ipv6
Willem de Bruijn 671cf50f4c net: test tailroom before appending to linear skb
[ Upstream commit 113f99c335 ]

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: 1da177e4c3 ("Linux-2.6.12-rc2")
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-26 08:48:57 +02:00
..
…
…
…
…
2017-09-27 11:00:12 +02:00
2018-02-16 20:09:37 +01:00
…
…
…
2017-06-14 13:16:19 +02:00
…
2017-06-14 13:16:19 +02:00
…
…