]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc01a3fa65a5b057d57acf3bd01c032204dcbd540
tree367302bae08e527e1ede890d8674dc9077b83e7e
parent8d7585d4ee9642fb11a9dbc3c2fcfa27d3c60acb
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