Jon Paul Maloy a11607f5a1 tipc: correct usage of spin_lock() vs spin_lock_bh()
I commit e099e86c9e24fe9aff36773600543eb31d8954d
("tipc: add node_lock protection to link lookup function")
we are calling spin_lock(&node->lock) directly instead of indirectly
via the tipc_node_lock(node) function. However, tipc_node_lock() is
using spin_lock_bh(), not spin_lock(), something leading to
unbalanced usage in one place, and a smatch warning.

We fix this by consistently using tipc_node_lock()/unlock() in
in the places touched by the mentioned commit.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-02-17 00:26:34 -05:00
..
2014-01-30 16:48:17 -08:00
2014-02-13 18:33:38 -05:00
2014-01-21 18:13:05 -08:00
2014-02-10 17:51:29 -08:00
2014-02-12 19:26:32 -05:00
2014-02-13 18:33:38 -05:00
2013-09-23 16:52:45 -04:00
2013-10-19 19:36:19 -04:00
2014-01-28 18:04:18 -08:00
2014-02-13 18:33:38 -05:00
2013-11-21 13:09:42 -05:00
2014-02-13 18:33:38 -05:00
2014-02-13 18:15:10 -05:00