]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mptcp: add sk_stop_timer_sync helper
authorGeliang Tang <geliangtang@gmail.com>
Thu, 24 Sep 2020 00:30:01 +0000 (08:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Apr 2024 10:50:12 +0000 (12:50 +0200)
commit9c382bc16fa8f7499b0663398437e125cf4f763b
treedfd9b497cd4d3e0e6e741f1301af712bdee09e2c
parent11387b2effbb55f58dc2111ef4b4b896f2756240
mptcp: add sk_stop_timer_sync helper

[ Upstream commit 08b81d873126b413cda511b1ea1cbb0e99938bbd ]

This patch added a new helper sk_stop_timer_sync, it deactivates a timer
like sk_stop_timer, but waits for the handler to finish.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 151c9c724d05 ("tcp: properly terminate timers for kernel sockets")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/sock.h
net/core/sock.c