Message ID | 6889c9fced5859ebb088564035f84fd0fa792a49.1644680751.git.deren.wu@mediatek.com |
---|---|
State | New |
Headers | show |
Series | mac80211: fix EAPoL rekey fail in 802.3 rx path | expand |
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 0544563ede52..57f5d5500282 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -4509,12 +4509,7 @@ static void ieee80211_rx_8023(struct ieee80211_rx_data *rx, /* deliver to local stack */ skb->protocol = eth_type_trans(skb, fast_rx->dev); - memset(skb->cb, 0, sizeof(skb->cb)); - if (rx->list) - list_add_tail(&skb->list, rx->list); - else - netif_receive_skb(skb); - + ieee80211_deliver_skb_to_local_stack(skb, rx); } static bool ieee80211_invoke_fast_rx(struct ieee80211_rx_data *rx,