diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/rx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 3c87293cb078..54fb4a0e76f0 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -2745,6 +2745,7 @@ static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw, | |||
2745 | 2745 | ||
2746 | if (ieee80211_prepare_and_rx_handle(&rx, skb, true)) | 2746 | if (ieee80211_prepare_and_rx_handle(&rx, skb, true)) |
2747 | return; | 2747 | return; |
2748 | goto out; | ||
2748 | } | 2749 | } |
2749 | } | 2750 | } |
2750 | 2751 | ||
@@ -2784,6 +2785,7 @@ static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw, | |||
2784 | return; | 2785 | return; |
2785 | } | 2786 | } |
2786 | 2787 | ||
2788 | out: | ||
2787 | dev_kfree_skb(skb); | 2789 | dev_kfree_skb(skb); |
2788 | } | 2790 | } |
2789 | 2791 | ||