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
2012-01-12 12:26:56 -08:00
2011-12-19 14:31:37 -05:00
2012-03-06 15:16:17 -05:00
2012-01-24 14:08:39 -05:00
2012-01-18 14:38:05 -05:00
2010-12-13 15:23:29 -05:00
2012-03-06 15:16:17 -05:00
2012-02-15 13:56:06 -05:00
2012-02-06 14:55:51 -05:00
2010-11-15 13:24:48 -05:00
2012-02-06 14:48:25 -05:00
2012-02-06 14:48:24 -05:00
2011-12-15 14:46:35 -05:00
2012-03-05 15:38:31 -05:00
2012-03-07 13:51:37 -05:00
2012-03-05 15:53:46 -05:00
2011-11-28 14:44:09 -05:00
2012-02-27 14:06:32 -05:00
2011-07-13 14:49:43 -04:00
2011-10-31 19:30:30 -04:00
2010-12-22 14:33:37 -05:00
2012-02-27 14:06:42 -05:00
2012-02-06 14:50:37 -05:00
2012-03-06 15:16:17 -05:00
2012-03-07 13:56:36 -05:00
2012-03-07 13:51:47 -05:00
2012-03-05 15:38:31 -05:00
2012-03-05 15:23:14 -05:00
2012-03-07 13:51:37 -05:00
2012-01-04 14:31:47 -05:00
2012-02-27 14:06:40 -05:00
2012-02-29 14:53:21 -05:00
2012-02-15 13:56:06 -05:00
2011-10-31 19:30:30 -04:00
2011-10-31 19:30:30 -04:00
2011-11-17 15:43:58 -05:00
2010-06-24 15:42:18 -04:00
2011-11-11 12:32:52 -05:00
2011-06-01 15:12:29 -04:00
2011-12-19 22:27:29 -05:00
2011-10-31 19:30:30 -04:00
2011-03-31 11:26:23 -03:00
2012-03-06 15:16:05 -05:00
2012-03-07 13:51:37 -05:00
2011-09-13 15:45:02 -04:00
2012-03-05 15:38:31 -05:00
2012-03-06 15:16:17 -05:00
2012-03-05 15:38:31 -05:00
2011-10-31 19:30:30 -04:00
2011-07-08 11:11:19 -04:00
2012-02-29 14:14:54 -05:00
2012-03-07 13:51:37 -05:00
2011-11-21 16:20:42 -05:00
2011-04-04 16:20:00 -04:00
2011-11-28 14:44:05 -05:00
2011-11-28 14:44:05 -05:00
2012-02-06 14:50:37 -05:00
2012-01-16 15:01:16 -05:00
2012-01-16 15:01:16 -05:00