]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: make the symbol 'mptcp_sk_clone_lock' static
authorChen Wandun <chenwandun@huawei.com>
Mon, 10 Feb 2020 08:27:59 +0000 (16:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Feb 2020 09:23:00 +0000 (10:23 +0100)
commitd707a6f22036c4b13650eb65299a119e5a139363
tree472538ba1705d66d7b4476e46fadf39a4d0010da
parenteb8d312292edbe7ca418d73d52f2c94bbfdfd61d
mptcp: make the symbol 'mptcp_sk_clone_lock' static

Fix the following sparse warning:
net/mptcp/protocol.c:646:13: warning: symbol 'mptcp_sk_clone_lock' was not declared. Should it be static?

Fixes: 7cfd10502042 ("mptcp: fix use-after-free for ipv6")
Signed-off-by: Chen Wandun <chenwandun@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c