]> 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)
commita32a49b1bc4151eb454ba6171237006ade33f11c
tree1a887d7f526ab3a0d40b25c20347bf55b510ad82
parent7b4db3d062d66b90b4c81a65300ac9d530d89658
mptcp: add sk_stop_timer_sync helper

[ Upstream commit ea82cfcb772c390d9a4a709ce73ec0e229a0a2e8 ]

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