mptcp: add sk_stop_timer_sync helper
authorGeliang Tang <geliangtang@gmail.com>
Thu, 24 Sep 2020 00:30:01 +0000 (08:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 02:58:34 +0000 (19:58 -0700)
commit08b81d873126b413cda511b1ea1cbb0e99938bbd
tree39601f9ec6ee0898cd3f10287ba78d423caefe1c
parent0abd40f823cbd3beb2889a100c2210b13a63585b
mptcp: add sk_stop_timer_sync helper

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>
include/net/sock.h
net/core/sock.c