]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b58adbf189ec9c5b3b2c3f7fc73e2a3a0c11300
treefc8624b79786fd8e12d522b8feeb646c686b5bba
parent21598149b6eeab225cb473ec6f9d5392ab2138e7
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