]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: split __mptcp_close_ssk helper
authorFlorian Westphal <fw@strlen.de>
Fri, 12 Feb 2021 23:59:55 +0000 (15:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:31:45 +0000 (16:31 -0800)
commit673589f9f6c747685474eb1d33e5cfdb9a2c4038
treecb4f9c9b96b72fbab952086c4e9dc544dbb3f5fe
parente4656611ecdd1e7b8a3417085bcc8b47adbb17d0
mptcp: split __mptcp_close_ssk helper

Prepare for subflow close events:

When mptcp connection is torn down its enough to send the mptcp socket
close notification rather than a subflow close event for all of the
subflows followed by the mptcp close event.

This splits the helper: mptcp_close_ssk() will emit the close
notification, __mptcp_close_ssk will not.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/pm_netlink.c
net/mptcp/protocol.c
net/mptcp/protocol.h