Dongseok Yi
24797c44c3
UPSTREAM: 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 <[email protected] >
Acked-by: Steffen Klassert <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected] >
(cherry picked from commit c3df39ac9b0e3747bf8233ea9ce4ed5ceb3199d3)
Bug: 187129171
Signed-off-by: Connor O'Brien <[email protected] >
Change-Id: Ib6159d86309fc5ade95c67abd7eab6880accd12b
2021-05-04 15:19:30 -07:00
..
ila
netfilter
netfilter: x_tables: Switch synchronization to RCU
2020-12-30 11:50:54 +01:00
addrconf.c
This is the 5.4.80 stable release
2020-11-25 12:46:13 +01:00
addrconf_core.c
net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup
2019-12-18 16:08:42 +01:00
addrlabel.c
ipv6: addrlabel: fix possible memory leak in ip6addrlbl_net_init
2020-12-08 10:40:23 +01:00
af_inet6.c
This is the 5.4.5 stable release
2019-12-18 16:54:08 +01:00
ah6.c
ah6: fix error return code in ah6_input()
2020-11-24 13:28:55 +01:00
anycast.c
ipv6: fix memory leaks on IPV6_ADDRFORM path
2020-08-11 15:33:39 +02:00
calipso.c
netlabel: cope with NULL catmap
2020-05-20 08:20:08 +02:00
datagram.c
net: ipv6: add net argument to ip6_dst_lookup_flow
2019-12-18 16:08:40 +01:00
esp6.c
esp6_offload.c
esp6: get the right proto for transport mode in esp6_gso_encap
2020-06-03 08:21:35 +02:00
exthdrs.c
exthdrs_core.c
exthdrs_offload.c
fib6_notifier.c
fib6_rules.c
fou6.c
icmp.c
UPSTREAM: net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
2021-03-05 06:50:46 +01:00
inet6_connection_sock.c
net: add bool confirm_neigh parameter for dst_ops.update_pmtu
2020-01-04 19:18:58 +01:00
inet6_hashtables.c
net: annotate accesses to sk->sk_incoming_cpu
2019-10-30 13:24:25 -07:00
ip6_checksum.c
ip6_fib.c
net: fix pos incrementment in ipv6_route_seq_next
2020-10-29 09:57:23 +01:00
ip6_flowlabel.c
ip6_gre.c
net: ip6_gre: set dev->hard_header_len when using header_ops
2020-12-08 10:40:26 +01:00
ip6_icmp.c
ANDROID: GKI: bring back icmpv6_send
2021-03-05 06:50:46 +01:00
ip6_input.c
ip6_offload.c
ip6_offload.h
ip6_output.c
net: ipv6: add net argument to ip6_dst_lookup_flow
2019-12-18 16:08:40 +01:00
ip6_tunnel.c
gre6: Fix reception with IP6_TNL_F_RCV_DSCP_COPY
2020-09-03 11:26:39 +02:00
ip6_udp_tunnel.c
ip6_vti.c
vti6: Fix memory leak of skb if input policy check fails
2020-04-01 11:02:12 +02:00
ip6mr.c
net: don't return invalid table id error when we fall back to PF_UNSPEC
2020-06-03 08:20:41 +02:00
ipcomp6.c
ipv6_sockglue.c
ipv6: fix memory leaks on IPV6_ADDRFORM path
2020-08-11 15:33:39 +02:00
Kconfig
net: ipv6: fix kconfig dependency warning for IPV6_SEG6_HMAC
2020-09-26 18:03:13 +02:00
Makefile
mcast.c
mld: fix memory leak in ipv6_mc_destroy_dev()
2020-06-30 15:36:43 -04:00
mcast_snoop.c
mip6.c
ndisc.c
Revert "Exempt multicast addresses from five-second neighbor lifetime"
2020-11-25 17:38:41 +01:00
netfilter.c
netfilter: use actual socket sk rather than skb sk when routing harder
2020-11-18 19:20:17 +01:00
output_core.c
ping.c
proc.c
protocol.c
raw.c
net: ipv6: add net argument to ip6_dst_lookup_flow
2019-12-18 16:08:40 +01:00
reassembly.c
route.c
This is the 5.4.58 stable release
2020-08-11 18:37:58 +02:00
seg6.c
seg6_hmac.c
seg6_iptunnel.c
seg6_local.c
ipv6: sr: remove SKB_GSO_IPXIP6 on End.D* actions
2020-01-29 16:45:20 +01:00
sit.c
IPv6: Set SIT tunnel hard_header_len to zero
2020-11-18 19:20:32 +01:00
syncookies.c
net: Update window_clamp if SOCK_RCVBUF is set
2020-11-18 19:20:32 +01:00
sysctl_net_ipv6.c
ipv6: Fix sysctl max for fib_multipath_hash_policy
2020-09-12 14:18:55 +02:00
tcp_ipv6.c
net: ipv6: add net argument to ip6_dst_lookup_flow
2019-12-18 16:08:40 +01:00
tcpv6_offload.c
tunnel6.c
udp.c
udp: Improve load balancing for SO_REUSEPORT.
2020-07-31 18:39:31 +02:00
udp_impl.h
udp_offload.c
UPSTREAM: udp: ipv4: manipulate network header of NATed UDP GRO fraglist
2021-05-04 15:19:30 -07:00
udplite.c
xfrm6_input.c
xfrm6_output.c
xfrm: Always set XFRM_TRANSFORMED in xfrm{4,6}_output_finish
2020-04-29 16:33:11 +02:00
xfrm6_policy.c
net: add bool confirm_neigh parameter for dst_ops.update_pmtu
2020-01-04 19:18:58 +01:00
xfrm6_protocol.c
xfrm6_state.c
xfrm6_tunnel.c