Xin Long
540ddeed5c
esp: delete NETIF_F_SCTP_CRC bit from features for esp offload
...
[ Upstream commit 154deab6a3ba47792936edf77f2f13a1cbc4351d ]
Now in esp4/6_gso_segment(), before calling inner proto .gso_segment,
NETIF_F_CSUM_MASK bits are deleted, as HW won't be able to do the
csum for inner proto due to the packet encrypted already.
So the UDP/TCP packet has to do the checksum on its own .gso_segment.
But SCTP is using CRC checksum, and for that NETIF_F_SCTP_CRC should
be deleted to make SCTP do the csum in own .gso_segment as well.
In Xiumei's testing with SCTP over IPsec/veth, the packets are kept
dropping due to the wrong CRC checksum.
Reported-by: Xiumei Mu <[email protected] >
Fixes: 7862b4058b ("esp: Add gso handlers for esp4 and esp6")
Signed-off-by: Xin Long <[email protected] >
Signed-off-by: Steffen Klassert <[email protected] >
Signed-off-by: Sasha Levin <[email protected] >
2021-04-14 08:24:13 +02:00
..
ila
netfilter
Revert "netfilter: x_tables: Update remaining dereference to RCU"
2021-03-30 14:35:28 +02:00
addrconf.c
ipv6: set multicast flag on the multicast route
2021-01-27 11:47:54 +01:00
addrconf_core.c
addrlabel.c
ipv6: addrlabel: fix possible memory leak in ip6addrlbl_net_init
2020-12-08 10:40:23 +01:00
af_inet6.c
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
cipso,calipso: resolve a number of problems with the DOI refcounts
2021-03-17 17:03:35 +01:00
datagram.c
esp6.c
esp: avoid unneeded kmap_atomic call
2021-01-23 15:57:58 +01:00
esp6_offload.c
esp: delete NETIF_F_SCTP_CRC bit from features for esp offload
2021-04-14 08:24:13 +02:00
exthdrs.c
exthdrs_core.c
exthdrs_offload.c
fib6_notifier.c
fib6_rules.c
fou6.c
icmp.c
net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
2021-03-04 10:26:53 +01:00
inet6_connection_sock.c
inet6_hashtables.c
ip6_checksum.c
ip6_fib.c
ipv6: fix suspecious RCU usage warning
2021-03-30 14:35:25 +02: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
net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
2021-03-04 10:26:53 +01:00
ip6_input.c
ipv6: weaken the v4mapped source check
2021-04-07 14:47:38 +02:00
ip6_offload.c
ip6_offload.h
ip6_output.c
net: ipv6: Validate GSO SKB before finish IPv6 processing
2021-01-23 15:57:57 +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
Exempt multicast addresses from five-second neighbor lifetime
2020-11-24 13:28:56 +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: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()
2021-04-14 08:24:12 +02:00
reassembly.c
IPv6: reply ICMP error if the first fragment don't include all headers
2021-02-03 23:25:55 +01:00
route.c
net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh
2021-04-14 08:24:10 +02:00
seg6.c
seg6_hmac.c
seg6_iptunnel.c
seg6_local.c
sit.c
net: sit: unregister_netdevice on newlink's error path
2021-01-23 15:57:59 +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
ipv6: weaken the v4mapped source check
2021-04-07 14:47:38 +02: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
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
xfrm6_protocol.c
xfrm6_state.c
xfrm6_tunnel.c