]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: context imbalance at node read unlock
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Thu, 24 Aug 2017 14:31:24 +0000 (16:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Aug 2017 04:54:34 +0000 (21:54 -0700)
commitc3f94217dd991421f76e49818761d3e005f1b634
treef245d40d37905357178c4251a136f8ed7f9bb2d4
parent5d9b20793388a8d79ba7bcddb347c817a065d3ae
tipc: context imbalance at node read unlock

If we fail to find a valid bearer in tipc_node_get_linkname(),
node_read_unlock() is called without holding the node read lock.

This commit fixes this error.

Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/node.c