Dongseok Yi
c3df39ac9b
udp: ipv4: manipulate network header of NATed UDP GRO fraglist
...
UDP/IP header of UDP GROed frag_skbs are not updated even after NAT
forwarding. Only the header of head_skb from ip_finish_output_gso ->
skb_gso_segment is updated but following frag_skbs are not updated.
A call path skb_mac_gso_segment -> inet_gso_segment ->
udp4_ufo_fragment -> __udp_gso_segment -> __udp_gso_segment_list
does not try to update UDP/IP header of the segment list but copy
only the MAC header.
Update port, addr and check of each skb of the segment list in
__udp_gso_segment_list. It covers both SNAT and DNAT.
Fixes: 9fd1ff5d2ac7 (udp: Support UDP fraglist GRO/GSO.)
Signed-off-by: Dongseok Yi <dseok.yi@samsung.com>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Link: https://lore.kernel.org/r/1611962007-80092-1-git-send-email-dseok.yi@samsung.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-02-01 20:02:16 -08:00
..
2020-08-10 12:06:44 -07:00
2021-01-19 13:54:30 -08:00
2020-12-02 13:25:11 -08:00
2020-03-12 15:55:00 -07:00
2020-11-13 14:24:39 -08:00
2020-12-03 17:38:21 -08:00
2020-09-08 20:03:36 -07:00
2019-11-01 14:57:52 -07:00
2020-11-16 08:08:54 -08:00
2020-06-20 21:33:57 -07:00
2021-01-11 18:20:09 -08:00
2020-12-28 14:44:32 -08: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-11-16 08:08:54 -08:00
2020-11-06 11:28:50 -08:00
2020-10-02 19:11:11 -07:00
2020-12-28 15:00:00 -08:00
2020-08-03 15:29:44 -07:00
2020-11-23 18:36:21 -05:00
2020-05-20 20:31:27 -04:00
2021-01-18 19:59:17 -08:00
2020-11-17 16:08:36 -08:00
2020-12-12 15:08:54 -08:00
2020-11-23 16:32:33 -08:00
2020-08-19 14:06:36 +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-11-09 17:50:28 -08:00
2020-03-30 13:45:04 -07:00
2020-08-25 06:28:02 -07:00
2021-01-07 14:42:36 -08:00
2020-08-25 06:23:59 -07:00
2020-11-12 16:54:48 -08:00
2021-02-01 19:58:23 -08:00
2020-11-09 17:50:28 -08:00
2020-07-09 12:55:37 +02:00
2020-11-12 14:53:33 -08:00
2020-11-09 17:50:28 -08: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
2020-11-16 08:08:54 -08:00
2020-10-30 12:57:39 +01:00
2019-05-21 10:50:45 +02:00
2021-01-07 18:47:18 -08:00
2020-11-23 18:36:21 -05:00
2020-11-09 15:34:44 -08:00
2019-05-30 11:26:32 -07:00
2020-03-12 22:34:48 -07:00
2020-11-23 18:36:21 -05:00
2020-12-03 15:44:09 -08:00
2020-12-16 11:01:04 -08:00
2020-09-10 13:15:40 -07: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-01-23 21:33:01 -08:00
2021-01-20 08:56:16 -08:00
2020-10-30 12:10:57 -07:00
2020-12-14 16:40:27 -08:00
2020-12-14 17:30:06 -08:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2021-01-23 19:32:51 -08:00
2019-05-21 10:50:45 +02:00
2021-01-23 21:33:01 -08:00
2020-08-24 17:31:20 -07:00
2021-01-23 19:32:51 -08: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-01-18 19:59:17 -08:00
2020-07-09 12:51:36 +02:00
2020-08-21 15:16:11 -07:00
2020-11-09 16:42:49 -08:00
2020-07-24 15:41:54 -07:00
2021-02-01 20:02:16 -08: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-01-19 13:54:30 -08: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