Centos-kernel-stream-9/net
Paolo Abeni 65330c619e mptcp: fix checksum byte order
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2100072
Tested: LNST, Tier1
Conflicts: context differences because rhel-9 already has
	the upstream commit 1e39e5a32ad7 ("mptcp: infinite mapping sending")

Upstream commit:
commit ba2c89e0ea74a904d5231643245753d77422e7f5
Author: Paolo Abeni <pabeni@redhat.com>
Date:   Tue May 17 11:02:11 2022 -0700

    mptcp: fix checksum byte order

    The MPTCP code typecasts the checksum value to u16 and
    then converts it to big endian while storing the value into
    the MPTCP option.

    As a result, the wire encoding for little endian host is
    wrong, and that causes interoperabilty interoperability
    issues with other implementation or host with different endianness.

    Address the issue writing in the packet the unmodified __sum16 value.

    MPTCP checksum is disabled by default, interoperating with systems
    with bad mptcp-level csum encoding should cause fallback to TCP.

    Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/275
    Fixes: c5b39e26d0 ("mptcp: send out checksum for DSS")
    Fixes: 390b95a5fb ("mptcp: receive checksum for DSS")
    Signed-off-by: Paolo Abeni <pabeni@redhat.com>
    Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-06-22 17:25:54 +02:00
..
6lowpan
9p
802
8021q Merge: CNB: net: use eth_hw_addr_set() 2022-05-12 09:28:36 +02:00
appletalk
atm
ax25
batman-adv batman-adv: Use netif_rx(). 2022-06-06 11:54:25 +02:00
bluetooth Merge: CNB: net: consolidate neif_rx() and make it callable from any context 2022-06-10 09:44:49 +02:00
bpf bpf: Add dummy BPF STRUCT_OPS for test purpose 2022-06-03 17:23:49 +03:00
bpfilter
bridge net: bridge: Use netif_rx(). 2022-06-06 11:54:24 +02:00
caif net: caif: Use netif_rx(). 2022-06-06 11:54:24 +02:00
can can: Use netif_rx(). 2022-06-06 11:54:24 +02:00
ceph libceph: fix misleading ceph_osdc_cancel_request() comment 2022-05-19 06:15:52 -04:00
core Merge: XDP and networking eBPF rebase to v5.16 2022-06-22 10:08:05 +02:00
dcb net: dcb: disable softirqs in dcbnl_flush_dev() 2022-05-03 10:53:41 -04:00
dccp
decnet
dns_resolver
dsa Merge: CNB: rebase/update devlink for RHEL 9.1 2022-05-17 09:50:18 +02:00
ethernet Merge: CNB: eth: fwnode: remove the addr len from mac helpers 2022-05-17 09:47:28 +02:00
ethtool
hsr net: use eth_hw_addr_set() instead of ether_addr_copy() 2022-05-03 13:24:36 +02:00
ieee802154
ife
ipv4 Merge: XDP and networking eBPF rebase to v5.16 2022-06-22 10:08:05 +02:00
ipv6 Merge: tcp: stable backports for rhel 9.1 phase 1 2022-06-01 09:48:34 +02:00
iucv
kcm
key
l2tp
l3mdev l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu 2022-05-03 10:49:18 -04:00
lapb
llc
mac80211
mac802154
mpls net: mpls: Fix notifications when deleting a device 2022-05-04 16:39:57 +02:00
mptcp mptcp: fix checksum byte order 2022-06-22 17:25:54 +02:00
ncsi all: replace find_next{,_zero}_bit with find_first{,_zero}_bit where appropriate 2022-05-11 15:07:36 -04:00
netfilter Merge: CNB: Update TC subsystem to upstream v5.18 2022-06-21 10:07:08 +02:00
netlabel Merge: Sync SELinux/LSM code with upstream up to v5.18-rc5 2022-05-23 09:32:37 +02:00
netlink
netrom
nfc Merge: XDP and networking eBPF rebase to v5.15 2022-06-03 09:26:25 +02:00
nsh
openvswitch Merge: CNB: Update TC subsystem to upstream v5.18 2022-06-21 10:07:08 +02:00
packet net/af_packet: make sure to pull mac header 2022-06-06 10:54:08 +08:00
phonet phonet: Use netif_rx(). 2022-06-06 11:54:25 +02:00
psample
qrtr
rds
rfkill
rose
rxrpc
sched Merge: ovs: 9.1 P1 backports 2022-06-10 09:44:32 +02:00
sctp Merge: sctp: backports from upstream 2022-05-13 08:46:19 +02:00
smc
strparser bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding 2022-06-07 20:22:41 +02:00
sunrpc Merge: mm: Optimize list lru memory consumption 2022-05-09 09:48:03 +02:00
switchdev net: switchdev: remove lag_mod_cb from switchdev_handle_fdb_event_to_device 2022-05-04 09:55:35 +02:00
tipc tipc: Use netif_rx(). 2022-06-06 11:54:25 +02:00
tls Merge: XDP and networking eBPF rebase to v5.15 2022-06-03 09:26:25 +02:00
unix Merge: XDP and networking eBPF rebase to v5.15 2022-06-03 09:26:25 +02:00
vmw_vsock hv_sock: Copy packets sent by Hyper-V out of the ring buffer 2022-06-14 17:25:25 +02:00
wireless wireless: Use netif_rx(). 2022-06-06 11:54:25 +02:00
x25
xdp xsk: Do not write NULL in SW ring at allocation failure 2022-06-07 20:22:42 +02:00
xfrm xfrm: enforce validity of offload input flags 2022-04-29 17:02:14 +02:00
Kconfig net/core: disable NET_RX_BUSY_POLL on PREEMPT_RT 2022-06-07 08:59:31 +02:00
Makefile
compat.c
devres.c
socket.c Merge: PTP: backport fixes from upstream 2022-06-07 09:43:11 +02:00
sysctl_net.c