mptcp: add the fallback check
authorGeliang Tang <geliang.tang@suse.com>
Fri, 22 Apr 2022 21:55:37 +0000 (14:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Apr 2022 10:51:05 +0000 (11:51 +0100)
commit0348c690ed3731298fb73e37941475ed86b47f54
treedfec776c484322b368536de1181604a039b89a33
parent1761fed2567807f26fbd53032ff622f55978c7a9
mptcp: add the fallback check

This patch adds the fallback check in subflow_check_data_avail(). Only
do the fallback when the msk hasn't fallen back yet.

Suggested-by: Paolo Abeni <pabeni@redhat.com>
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>
net/mptcp/subflow.c