]> 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)
commit88c76bc429a8b486d9744f2964cad975c4543f2a
treeb354326e4e413936abf9600bdeb6ac01ad55645e
parent673589f9f6c747685474eb1d33e5cfdb9a2c4038
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