omap24xx: Export certain n8x0 GPIO switches as input device
[openwrt.git] / package / madwifi / patches / 373-sanity_check.patch
1 --- a/net80211/ieee80211_input.c
2 +++ b/net80211/ieee80211_input.c
3 @@ -250,6 +250,9 @@ ieee80211_input(struct ieee80211vap * va
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,
This page took 0.045184 seconds and 5 git commands to generate.