]> 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)
commit94c08f0ba1c58a140242a2a342d23392298cf099
tree5672614138e7851ae7d4a191bfd784085d16588c
parentc6f269da83d84e39469d8d8a89f450df06b9e839
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