]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9419763c33c106badad41b0cd28cac91ecdf8c6a
treeb354326e4e413936abf9600bdeb6ac01ad55645e
parentc121318312fdc5b9e0a803bb50e3d2eb4d7b8a5a
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