aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorDavide Caratti <[email protected]>2020-07-15 20:27:05 +0000
committerDavid S. Miller <[email protected]>2020-07-17 19:47:00 +0000
commit8c728940487945e25cdfe020d58da42143aa98c1 (patch)
treea91470aed5e01dc3e32be9c994a0df56056dffd0 /net/ipv4/tcp_input.c
parentMerge branch 'usbnet-multicast-filter-support-for-cdc-ncm-devices' (diff)
downloadkernel-8c728940487945e25cdfe020d58da42143aa98c1.tar.gz
kernel-8c728940487945e25cdfe020d58da42143aa98c1.zip
mptcp: silence warning in subflow_data_ready()
since commit d47a72152097 ("mptcp: fix race in subflow_data_ready()"), it is possible to observe a regression in MP_JOIN kselftests. For sockets in TCP_CLOSE state, it's not sufficient to just wake up the main socket: we also need to ensure that received data are made available to the reader. Silence the WARN_ON_ONCE() in these cases: it preserves the syzkaller fix and restores kselftests when they are ran as follows: # while true; do > make KBUILD_OUTPUT=/tmp/kselftest TARGETS=net/mptcp kselftest > done Reported-by: Florian Westphal <[email protected]> Fixes: d47a72152097 ("mptcp: fix race in subflow_data_ready()") Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/47 Signed-off-by: Davide Caratti <[email protected]> Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions