projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix madwifi hal target for mips*
[openwrt.git]
/
package
/
madwifi
/
patches
/
373-sanity_check.patch
1
--- a/net80211/ieee80211_input.c
2
+++ b/net80211/ieee80211_input.c
3
@@ -238,6 +238,9 @@
4
if (vap->iv_opmode == IEEE80211_M_MONITOR)
5
goto out;
6
7
+ if (!skb->data)
8
+ goto out;
9
+
10
if (skb->len < sizeof(struct ieee80211_frame_min)) {
11
IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_ANY,
12
ni->ni_macaddr, NULL,