Wei Yongjun 6b65bc2972 tipc: fix imbalance read_unlock_bh in __tipc_nl_add_monitor()
In the error handling case of nla_nest_start() failed read_unlock_bh()
is called  to unlock a lock that had not been taken yet. sparse warns
about the context imbalance as the following:

net/tipc/monitor.c:799:23: warning:
 context imbalance in '__tipc_nl_add_monitor' - different lock contexts for basic block

Fixes: cf6f7e1d5109 ('tipc: dump monitor attributes')
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-30 20:38:22 -07:00
..
2016-06-15 14:06:28 -07:00
2016-06-15 14:06:28 -07:00
2016-06-29 05:17:37 -04:00
2016-07-26 14:26:42 -07:00
2016-03-07 14:56:41 -05:00
2016-07-26 14:26:42 -07:00
2016-07-26 14:26:42 -07:00
2016-07-26 14:26:42 -07:00
2016-06-17 21:38:10 -07:00