Paolo Abeni
4877c4a523
udp: never accept GSO_FRAGLIST packets
...
[ Upstream commit 78352f73dc5047f3f744764cc45912498c52f3c9 ]
Currently the UDP protocol delivers GSO_FRAGLIST packets to
the sockets without the expected segmentation.
This change addresses the issue introducing and maintaining
a couple of new fields to explicitly accept SKB_GSO_UDP_L4
or GSO_FRAGLIST packets. Additionally updates udp_unexpected_gso()
accordingly.
UDP sockets enabling UDP_GRO stil keep accept_udp_fraglist
zeroed.
v1 -> v2:
- use 2 bits instead of a whole GSO bitmask (Willem)
Fixes: 9fd1ff5d2a
("udp: Support UDP fraglist GRO/GSO.")
Signed-off-by: Paolo Abeni <pabeni@redhat.com >
Reviewed-by: Willem de Bruijn <willemb@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2021-05-14 09:50:31 +02:00
..
2020-08-10 12:06:44 -07:00
2021-04-21 13:00:56 +02:00
2020-08-24 16:16:06 -07:00
2021-04-14 08:42:05 +02:00
2020-11-13 14:24:39 -08:00
2020-09-25 13:58:01 -07:00
2021-03-17 17:06:15 +01:00
2019-11-01 14:57:52 -07:00
2020-05-31 17:48:46 -07:00
2021-04-14 08:42:07 +02:00
2021-04-14 08:42:05 +02:00
2021-01-12 20:18:12 +01:00
2020-03-29 22:30:57 -07:00
2019-10-04 11:10:56 -07:00
2020-07-28 17:42:31 -07:00
2020-06-18 20:21:51 -07:00
2020-08-26 15:58:48 -07:00
2020-10-02 19:11:11 -07:00
2021-01-12 20:18:12 +01:00
2020-08-03 15:29:44 -07:00
2021-03-04 11:38:46 +01:00
2020-05-20 20:31:27 -04:00
2021-03-30 14:31:59 +02:00
2020-11-17 16:08:36 -08:00
2019-08-08 15:55:10 -07:00
2020-11-23 16:32:33 -08:00
2019-05-21 10:50:45 +02:00
2019-11-07 16:15:56 -08:00
2019-09-20 18:23:33 -07:00
2019-08-08 15:55:10 -07:00
2020-10-13 18:35:29 -07:00
2020-03-30 13:45:04 -07:00
2020-08-25 06:28:02 -07:00
2021-01-17 14:16:56 +01:00
2020-08-25 06:23:59 -07:00
2020-11-09 15:39:39 -08:00
2021-03-17 17:06:12 +01:00
2021-03-17 17:06:12 +01:00
2020-07-09 12:55:37 +02:00
2020-12-26 16:02:38 +01:00
2020-06-30 12:29:39 -07:00
2019-10-04 11:10:56 -07:00
2020-09-10 12:25:51 -07:00
2020-08-18 16:02:16 -07:00
2020-07-10 13:54:00 -07:00
2019-05-21 10:50:45 +02:00
2020-10-30 12:57:39 +01:00
2019-05-21 10:50:45 +02:00
2021-03-17 17:06:14 +01:00
2020-08-31 12:33:34 -07:00
2020-09-24 20:15:45 -07:00
2019-05-30 11:26:32 -07:00
2020-03-12 22:34:48 -07:00
2020-10-15 18:42:13 -07:00
2021-05-14 09:50:30 +02:00
2020-11-10 17:42:35 -08:00
2021-04-21 13:00:57 +02:00
2020-11-17 11:03:22 -08:00
2020-03-16 18:26:54 -07:00
2020-11-18 00:12:34 +01:00
2019-05-21 10:50:45 +02:00
2020-11-20 18:09:47 -08:00
2020-06-25 16:08:47 -07:00
2019-05-30 11:26:32 -07:00
2018-10-10 22:26:00 -07:00
2020-02-27 18:50:19 -08:00
2020-08-24 14:35:00 -07:00
2020-07-06 13:23:03 -07:00
2020-07-06 13:23:03 -07:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2021-02-03 23:28:52 +01:00
2021-01-27 11:55:28 +01:00
2019-05-21 10:50:45 +02:00
2020-10-02 19:11:11 -07:00
2021-03-30 14:31:59 +02:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2021-02-03 23:28:51 +01:00
2019-05-21 10:50:45 +02:00
2021-02-03 23:28:52 +01:00
2020-08-24 17:31:20 -07:00
2021-02-03 23:28:51 +01:00
2020-03-09 22:34:58 +01:00
2020-10-13 17:11:52 -07:00
2017-11-02 11:10:55 +01:00
2020-07-06 13:23:03 -07:00
2019-05-21 10:50:45 +02:00
2020-03-16 18:26:55 -07:00
2021-03-17 17:06:11 +01:00
2020-07-09 12:51:36 +02:00
2020-08-21 15:16:11 -07:00
2020-03-12 22:34:48 -07:00
2020-07-24 15:41:54 -07:00
2021-03-17 17:06:11 +01:00
2020-07-10 13:54:00 -07:00
2020-09-28 12:50:12 -07:00
2020-07-10 13:54:00 -07:00
2021-05-14 09:50:31 +02:00
2020-07-19 18:16:41 -07:00
2020-05-06 09:40:08 +02:00
2020-05-11 15:12:27 +02:00
2019-12-24 22:28:54 -08:00
2019-12-09 09:59:07 +01:00
2020-05-06 09:40:08 +02:00
2020-10-09 12:29:48 +02:00