Skip to contentSkip to conversation

mesh smatch (or sparse?) errors

DISCUSSION Johannes Berg 2 participants 2 messages Mar 3, 2012 – Mar 4, 2012

lore
Share & tools
lore
#0 lore raw

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:579 mesh_path_add() error: double unlock 'bottom_half:' net/mac80211/mesh_pathtbl.c:588 mesh_path_add() error: double unlock 'bottom_half:' net/mac80211/mesh_pathtbl.c:690 mpp_path_add() error: double lock 'bottom_half:' net/mac80211/mesh_pathtbl.c:705 mpp_path_add() error: double unlock 'bottom_half:' net/mac80211/mesh_pathtbl.c:714 mpp_path_add() error: double unlock 'bottom_half:' net/mac80211/mesh_pathtbl.c:812 mesh_path_flush_by_nexthop() error: double lock 'bottom_half:' net/mac80211/mesh_pathtbl.c:817 mesh_path_flush_by_nexthop() error: double unlock 'bottom_half:' net/mac80211/mesh_pathtbl.c:885 mesh_path_del() error: double lock 'bottom_half:' net/mac80211/mesh_pathtbl.c:899 mesh_path_del() error: double unlock 'bottom_half:'

johannes

#1 lore raw
Quoted 12 lines · Johannes Berg

 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:579 mesh_path_add() error: double unlock 'bottom_half:' net/mac80211/mesh_pathtbl.c:588 mesh_path_add() error: double unlock 'bottom_half:' net/mac80211/mesh_pathtbl.c:690 mpp_path_add() error: double lock 'bottom_half:' net/mac80211/mesh_pathtbl.c:705 mpp_path_add() error: double unlock 'bottom_half:' net/mac80211/mesh_pathtbl.c:714 mpp_path_add() error: double unlock 'bottom_half:' net/mac80211/mesh_pathtbl.c:812 mesh_path_flush_by_nexthop() error: double lock 'bottom_half:' net/mac80211/mesh_pathtbl.c:817 mesh_path_flush_by_nexthop() error: double unlock 'bottom_half:' net/mac80211/mesh_pathtbl.c:885 mesh_path_del() error: double lock 'bottom_half:' net/mac80211/mesh_pathtbl.c:899 mesh_path_del() error: double unlock 'bottom_half:'

I'll take a look, thanks.

Thomas

Quoted 3 lines

johannes