]> git.baikalelectronics.ru Git - kernel.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, 11 Mar 2023 15:43:40 +0000 (16:43 +0100)
commitd5ee82e2d1c13b3dffb7334ccf87dd43a9f7fa2b
tree1a887d7f526ab3a0d40b25c20347bf55b510ad82
parent1b2560469cfca1bcdcf62d5ec555ae8a5a0a19d3
mptcp: add sk_stop_timer_sync helper

[ Upstream commit e6e2d465a21fd3ad98fdcedc9515fc0af2360e26 ]

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: 584f3742890e ("net: add sock_init_data_uid()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/sock.h
net/core/sock.c