summaryrefslogtreecommitdiffstats
path: root/net/mptcp/protocol.c
diff options
context:
space:
mode:
authorMatthieu Baerts <matthieu.baerts@tessares.net>2022-02-03 02:03:38 +0100
committerDavid S. Miller <davem@davemloft.net>2022-02-03 12:44:08 +0100
commit902c8f8648828c9293533cc54393f163fb594d06 (patch)
tree37574f8d10ef3031e667a16cbcc45096fa7a97a5 /net/mptcp/protocol.c
parentmptcp: move the declarations of ssk and subflow (diff)
downloadlinux-902c8f8648828c9293533cc54393f163fb594d06.tar.xz
linux-902c8f8648828c9293533cc54393f163fb594d06.zip
mptcp: reduce branching when writing MP_FAIL option
MP_FAIL should be use in very rare cases, either when the TCP RST flag is set -- with or without an MP_RST -- or with a DSS, see mptcp_established_options(). Here, we do the same in mptcp_write_options(). Co-developed-by: Geliang Tang <geliang.tang@suse.com> Signed-off-by: Geliang Tang <geliang.tang@suse.com> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/protocol.c')
0 files changed, 0 insertions, 0 deletions