aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2020-02-26 10:14:52 +0100
committerDavid S. Miller <[email protected]>2020-02-26 20:46:26 -0800
commit14c441b564d560dea4c93947d5b40a992e13ca31 (patch)
tree1e909ad2d71b864e798e2f14838dd756c398dad1 /net/switchdev/switchdev.c
parent2e52213c79c0b94aff42ba898ad9ad57546be67d (diff)
mptcp: defer work schedule until mptcp lock is released
Don't schedule the work queue right away, instead defer this to the lock release callback. This has the advantage that it will give recv path a chance to complete -- this might have moved all pending packets from the subflow to the mptcp receive queue, which allows to avoid the schedule_work(). Co-developed-by: Florian Westphal <[email protected]> Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: Paolo Abeni <[email protected]> Reviewed-by: Mat Martineau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions