projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
d82bccc
)
Merge tag 'mac80211-for-davem-2016-04-14' of git://git.kernel.org/pub/scm/linux/kerne...
author
David S. Miller
<davem@davemloft.net>
Thu, 14 Apr 2016 16:00:59 +0000
(12:00 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 14 Apr 2016 16:00:59 +0000
(12:00 -0400)
Johannes Berg says:
====================
This has just the single fix from Dmitry Ivanov, adding the missing
netlink notifier family check to avoid the socket close DoS problem.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
net/wireless/nl80211.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/nl80211.c
b/net/wireless/nl80211.c
index 98c924260b3d312055c598255cff8478bccba1e9..056a7307862b78f5f0b2013b41c2686b5de18064 100644
(file)
--- a/
net/wireless/nl80211.c
+++ b/
net/wireless/nl80211.c
@@
-13216,7
+13216,7
@@
static int nl80211_netlink_notify(struct notifier_block * nb,
struct wireless_dev *wdev;
struct cfg80211_beacon_registration *reg, *tmp;
- if (state != NETLINK_URELEASE)
+ if (state != NETLINK_URELEASE
|| notify->protocol != NETLINK_GENERIC
)
return NOTIFY_DONE;
rcu_read_lock();