]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: pm: add lockdep assertions
authorFlorian Westphal <fw@strlen.de>
Thu, 4 Feb 2021 23:23:30 +0000 (15:23 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Feb 2021 22:35:47 +0000 (14:35 -0800)
commitef564920f428999cb2021c505b40a595afb05eee
tree5672614138e7851ae7d4a191bfd784085d16588c
parent951b25cac090b8046084e4336e76628498b74409
mptcp: pm: add lockdep assertions

Add a few assertions to make sure functions are called with the needed
locks held.
Two functions gain might_sleep annotations because they contain
conditional calls to functions that sleep.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/pm.c
net/mptcp/pm_netlink.c
net/mptcp/protocol.c
net/mptcp/protocol.h