mptcp: add data lock for sk timers
authorGeliang Tang <geliang.tang@suse.com>
Tue, 26 Apr 2022 21:57:13 +0000 (14:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Apr 2022 09:45:54 +0000 (10:45 +0100)
commit4293248c6704b854bf816aa1967e433402bee11c
treefc8624b79786fd8e12d522b8feeb646c686b5bba
parentbcf3cf93f64597fd3ccdcf79000f064b0c7dc943
mptcp: add data lock for sk timers

mptcp_data_lock() needs to be held when manipulating the msk
retransmit_timer or the sk sk_timer. This patch adds the data
lock for the both timers.

Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c