mac80211: remove BUG_ON usage
authorJohannes Berg <johannes.berg@intel.com>
Tue, 29 Apr 2014 15:55:26 +0000 (17:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 29 Apr 2014 15:59:27 +0000 (17:59 +0200)
commit8c5bb1fad0bb9c29f7d817c1e2fdb052b76f04e9
tree367302bae08e527e1ede890d8674dc9077b83e7e
parent2fd0511556538a2d713e7a3d032c51cfe0117642
mac80211: remove BUG_ON usage

These BUG_ON statements should never trigger, but in the unlikely
event that somebody does manage don't stop everything but simply
exit the code path with an error.

Leave the one BUG_ON where changing it would result in a NULL
pointer dereference.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/key.c
net/mac80211/mesh_pathtbl.c
net/mac80211/mesh_sync.c
This page took 0.024558 seconds and 5 git commands to generate.