summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorMariusz Kozlowski <mk@lab.zgora.pl>2011-03-26 18:58:51 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-03-28 21:42:02 +0200
commit67aa030c0dff6095128bcb4e8043b48360f32331 (patch)
tree91f839fbe604cf1f96a12b2ca09bb65a317fe284 /net/sched
parentmac80211: fix NULL pointer dereference in ieee80211_key_alloc() (diff)
downloadlinux-67aa030c0dff6095128bcb4e8043b48360f32331.tar.xz
linux-67aa030c0dff6095128bcb4e8043b48360f32331.zip
mac80211: fix possible NULL pointer dereference
This patch moves 'key' dereference after BUG_ON(!key) so that when key is NULL we will see proper trace instead of oops. Signed-off-by: Mariusz Kozlowski <mk@lab.zgora.pl> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions