enable TCP ECN by default (see #3001 for more information)
[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,
This page took 0.036341 seconds and 5 git commands to generate.