Star64_linux/net
Geliang Tang e6be035012 mptcp: fix a DSS option writing error
[ Upstream commit 110b6d1fe9 ]

'ptr += 1;' was omitted in the original code.

If the DSS is the last option -- which is what we have most of the
time -- that's not an issue. But it is if we need to send something else
after like a RM_ADDR or an MP_PRIO.

Fixes: 1bff1e43a3 ("mptcp: optimize out option generation")
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:44:09 +08:00
..
6lowpan
9p
802
8021q
appletalk
atm
ax25
batman-adv
bluetooth Bluetooth: L2CAP: uninitialized variables in l2cap_sock_setsockopt() 2023-04-19 17:44:09 +08:00
bpf
bpfilter
bridge
caif
can
ceph
core bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt(). 2023-04-19 17:44:06 +08:00
dcb
dccp
decnet
dns_resolver
dsa net: dsa: fix incorrect function pointer check for MRP ring roles 2023-04-19 17:44:06 +08:00
ethernet
ethtool
hsr
ieee802154
ife
ipv4 bpf, sockmap: Fix return codes from tcp_bpf_recvmsg_parser() 2023-04-19 17:44:06 +08:00
ipv6
iucv
kcm
key
l2tp
l3mdev
lapb
llc
mac80211
mac802154
mctp
mpls
mptcp mptcp: fix a DSS option writing error 2023-04-19 17:44:09 +08:00
ncsi
netfilter netfilter: nft_set_pipapo: allocate pcpu scratch maps on clone 2023-04-19 17:44:07 +08:00
netlabel
netlink
netrom
nfc
nsh
openvswitch
packet
phonet
psample
qrtr
rds
rfkill
rose
rxrpc
sched
sctp
smc net/smc: Reset conn->lgr when link group registration fails 2023-04-19 17:44:07 +08:00
strparser
sunrpc
switchdev
tipc
tls
unix
vmw_vsock
wireless
x25
xdp
xfrm net/xfrm: IPsec tunnel mode fix inner_ipproto setting in sec_path 2023-04-19 17:44:06 +08:00
compat.c
devres.c
Kconfig
Makefile
socket.c net: fix SOF_TIMESTAMPING_BIND_PHC to work with multiple sockets 2023-04-19 17:44:07 +08:00
sysctl_net.c