diff --git a/net80211/ieee80211_input.c b/net80211/ieee80211_input.c index 03d9292..e916e99 100644 --- a/net80211/ieee80211_input.c +++ b/net80211/ieee80211_input.c @@ -1138,7 +1138,8 @@ ieee80211_deliver_data(struct ieee80211_node *ni, struct sk_buff *skb) if (ETHER_IS_MULTICAST(eh->ether_dhost)) { /* Create a SKB for the BSS to send out. */ skb1 = skb_copy(skb, GFP_ATOMIC); - SKB_CB(skb1)->ni = ieee80211_ref_node(vap->iv_bss); + if (skb1) + SKB_CB(skb1)->ni = ieee80211_ref_node(vap->iv_bss); } else { /*