Willem de Bruijn
113f99c335
net: test tailroom before appending to linear skb
...
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@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>
2018-05-17 17:05:01 -04:00
..
2018-03-27 13:18:09 -04:00
2018-05-08 14:15:32 +02:00
2017-10-20 13:15:07 +01:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-31 23:33:04 -04:00
2017-11-15 11:56:19 -08:00
2018-03-26 12:07:48 -04:00
2017-07-04 22:35:16 +01:00
2018-04-04 11:31:57 -04:00
2018-02-27 10:46:01 +01:00
2018-01-17 00:10:42 -05:00
2018-02-28 11:43:28 -05:00
2015-09-02 15:31:00 -07:00
2018-01-10 16:03:55 -05:00
2017-09-01 20:33:42 -07:00
2018-03-27 13:18:09 -04:00
2017-05-21 13:42:36 -04:00
2018-03-27 13:18:09 -04:00
2017-01-28 10:33:06 -05:00
2017-12-03 10:18:28 -05:00
2018-02-16 15:57:42 -05:00
2018-05-02 16:33:02 -04:00
2018-03-27 13:18:09 -04:00
2018-05-17 16:50:06 -04:00
2017-11-02 11:10:55 +01:00
2017-04-20 10:35:33 -04:00
2017-10-08 10:12:15 -07:00
2016-04-07 16:53:29 -04:00
2018-05-17 17:05:01 -04:00
2018-04-05 15:16:15 -04:00
2016-11-02 15:18:36 -04:00
2018-04-27 07:29:23 +02:00
2018-03-27 13:18:09 -04:00
2016-11-04 14:45:23 -04:00
2018-02-28 11:43:28 -05:00
2018-05-08 00:05:11 -04:00
2017-11-02 11:10:55 +01:00
2015-08-13 17:08:39 -07:00
2018-03-27 13:18:09 -04:00
2016-12-25 17:21:23 +01:00
2018-03-27 13:18:09 -04:00
2018-02-25 20:51:13 +01:00
2017-11-24 01:37:35 +09:00
2018-04-04 11:31:57 -04:00
2018-03-31 23:25:39 -04:00
2017-03-24 13:17:07 -07:00
2018-03-27 13:18:09 -04:00
2018-04-04 12:04:59 -04:00
2018-05-01 12:15:24 -04:00
2017-09-01 18:35:23 -07:00
2018-04-22 21:04:17 -04:00
2018-03-04 13:04:22 -05:00
2018-03-27 13:18:09 -04:00
2018-04-05 15:16:15 -04:00
2018-03-25 20:53:54 -04:00
2018-03-27 13:18:09 -04:00
2018-03-31 23:33:04 -04:00
2018-01-22 16:01:30 -05:00
2015-11-03 10:52:13 -05:00
2017-11-02 11:10:55 +01:00
2018-01-22 16:01:30 -05:00
2018-05-10 15:42:52 -04:00
2018-03-27 13:18:09 -04:00
2017-12-19 08:23:21 +01:00
2017-06-16 11:48:39 -04:00
2017-06-02 13:57:27 -04:00
2017-06-02 13:57:27 -04:00
2018-03-07 10:54:29 +01:00
2018-03-04 17:49:17 -05:00
2018-03-27 13:18:09 -04:00
2017-02-09 10:22:17 +01:00
2018-02-28 11:43:28 -05:00
2018-04-16 07:50:09 +02:00