aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index c0368152b721..308e502a80eb 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -2286,9 +2286,6 @@ static void ieee80211_rx_cooked_monitor(struct ieee80211_rx_data *rx,
2286 struct net_device *prev_dev = NULL; 2286 struct net_device *prev_dev = NULL;
2287 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); 2287 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb);
2288 2288
2289 if (status->flag & RX_FLAG_INTERNAL_CMTR)
2290 goto out_free_skb;
2291
2292 if (skb_headroom(skb) < sizeof(*rthdr) && 2289 if (skb_headroom(skb) < sizeof(*rthdr) &&
2293 pskb_expand_head(skb, sizeof(*rthdr), 0, GFP_ATOMIC)) 2290 pskb_expand_head(skb, sizeof(*rthdr), 0, GFP_ATOMIC))
2294 goto out_free_skb; 2291 goto out_free_skb;
@@ -2347,7 +2344,6 @@ static void ieee80211_rx_cooked_monitor(struct ieee80211_rx_data *rx,
2347 } else 2344 } else
2348 goto out_free_skb; 2345 goto out_free_skb;
2349 2346
2350 status->flag |= RX_FLAG_INTERNAL_CMTR;
2351 return; 2347 return;
2352 2348
2353 out_free_skb: 2349 out_free_skb: