OSDN Git Service

mptcp: schedule worker when subflow is closed
authorFlorian Westphal <fw@strlen.de>
Fri, 12 Feb 2021 23:59:56 +0000 (15:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:31:45 +0000 (16:31 -0800)
commit40947e13997a1cba4e875893ca6e5d5e61a0689d
treeb354326e4e413936abf9600bdeb6ac01ad55645e
parenta141e02e393370e082b25636401c49978b61bfcf
mptcp: schedule worker when subflow is closed

When remote side closes a subflow we should schedule the worker to
dispose of the subflow in a timely manner.

Otherwise, SF_CLOSED event won't be generated until the mptcp
socket itself is closing or local side is closing another subflow.

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/protocol.c
net/mptcp/subflow.c