mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
Null protection for skb1 in multicast node fix
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3285 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
6600ba247b
commit
f0a1f3d537
@ -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 {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user