Thomas Pedersen f06c7885c3 mac80211: fix smatch lock errors in mesh
smatch was complaining:

CHECK   net/mac80211/mesh_pathtbl.c
net/mac80211/mesh_pathtbl.c:562 mesh_path_add() error: double lock
'bottom_half:'
net/mac80211/mesh_pathtbl.c:580 mesh_path_add() error: double unlock
'bottom_half:'
net/mac80211/mesh_pathtbl.c:589 mesh_path_add() error: double unlock
'bottom_half:'
net/mac80211/mesh_pathtbl.c:691 mpp_path_add() error: double lock
'bottom_half:'
net/mac80211/mesh_pathtbl.c:707 mpp_path_add() error: double unlock
'bottom_half:'
net/mac80211/mesh_pathtbl.c:716 mpp_path_add() error: double unlock
'bottom_half:'
net/mac80211/mesh_pathtbl.c:814 mesh_path_flush_by_nexthop() error:
double lock 'bottom_half:'
net/mac80211/mesh_pathtbl.c:819 mesh_path_flush_by_nexthop() error:
double unlock 'bottom_half:'
net/mac80211/mesh_pathtbl.c:887 mesh_path_del() error: double lock
'bottom_half:'
net/mac80211/mesh_pathtbl.c:901 mesh_path_del() error: double unlock
'bottom_half:'

So don't lock / unlock with _bh() while bottom halves are already
disabled.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-03-07 13:56:36 -05:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2011-12-19 14:31:37 -05:00
2012-02-06 14:55:51 -05:00
2009-07-10 15:01:49 -04:00
2011-11-28 14:44:09 -05:00
2012-02-27 14:06:42 -05:00
2012-02-06 14:50:37 -05:00
2012-03-07 13:51:37 -05:00
2012-01-04 14:31:47 -05:00
2011-03-31 11:26:23 -03:00
2012-03-07 13:51:37 -05:00
2012-03-07 13:51:37 -05:00
2011-11-21 16:20:42 -05:00
2012-02-06 14:50:37 -05:00