OSDN Git Service

mptcp: Add mptcp_close_state() helper
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Tue, 28 Jul 2020 22:12:04 +0000 (15:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2020 00:02:42 +0000 (17:02 -0700)
commit6920b851584cc69a61ebf2cff3948bb153bcef20
treeae5d803a7d22355c6b674873b8e2d747aba956bd
parent3721b9b64676b3377a966f3d96acafd70bb32dd9
mptcp: Add mptcp_close_state() helper

This will be used to transition to the appropriate state on close and
determine if a DATA_FIN needs to be sent for that state transition.

Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c