]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb69b69ff556a32f75560509e1bfd07598a51e8e9
treedfec776c484322b368536de1181604a039b89a33
parent10f024d57f45e467df3419b56eeccafda8e72c96
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