WSL2-Linux-Kernel/net/mptcp
Davide Caratti f7cc8890f3 mptcp: fix corrupt receiver key in MPC + data + checksum
using packetdrill it's possible to observe that the receiver key contains
random values when clients transmit MP_CAPABLE with data and checksum (as
specified in RFC8684 §3.1). Fix the layout of mptcp_out_options, to avoid
using the skb extension copy when writing the MP_CAPABLE sub-option.

Fixes: d7b2690837 ("mptcp: shrink mptcp_out_options struct")
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/233
Reported-by: Poorva Sonparote <psonparo@redhat.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Link: https://lore.kernel.org/r/20211027203855.264600-1-mathew.j.martineau@linux.intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-10-28 08:19:06 -07:00
..
Kconfig
Makefile
crypto.c
crypto_test.c
ctrl.c
diag.c
mib.c
mib.h
mptcp_diag.c
options.c mptcp: fix corrupt receiver key in MPC + data + checksum 2021-10-28 08:19:06 -07:00
pm.c
pm_netlink.c mptcp: allow changing the 'backup' bit when no sockets are open 2021-09-24 10:51:36 +01:00
protocol.c mptcp: fix possible stall on recvmsg() 2021-10-08 14:55:54 +01:00
protocol.h
sockopt.c
subflow.c
syncookies.c
token.c
token_test.c