]> 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)
commit4341287a6c78754832c016a40cf75ad04c2e3cfd
tree367302bae08e527e1ede890d8674dc9077b83e7e
parentafe64583945916560b23f0774ecc9c76f45b140a
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