From c61bd72fbc06d31b94a9187d9c0155e3589559c0 Mon Sep 17 00:00:00 2001 From: mtaylor Date: Mon, 28 Jan 2008 19:27:26 +0000 Subject: [PATCH] Remove improper handling of non-cloned frames in hardstart. git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3281 0192ed92-7a03-0410-a25b-9323aeb14dbd --- ath/if_ath.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ath/if_ath.c b/ath/if_ath.c index 642e076..e734ca4 100644 --- a/ath/if_ath.c +++ b/ath/if_ath.c @@ -3248,12 +3248,7 @@ ath_hardstart(struct sk_buff *skb, struct net_device *dev) } ieee80211_skb_copy_noderef(skb_orig, skb); ieee80211_dev_kfree_skb(&skb_orig); - } else { - if (SKB_CB(skb)->ni != NULL) - ieee80211_unref_node(&SKB_CB(skb)->ni); - skb_orphan(skb); - } - + } eh = (struct ether_header *)skb->data; #ifdef ATH_SUPERG_FF -- 2.35.1