Rework monitor mode SKB handling, touching shared and cloned SKB handling in the...
[madwifi/.git] / net80211 / ieee80211_output.c
index 955b77e682036e7e23a798bc21d2e5cc1a7526a2..729a861a39417da76ae8add8c7f8b4b33d407a47 100644 (file)
@@ -603,13 +603,6 @@ ieee80211_skbhdr_adjust(struct ieee80211vap *vap, int hdrsize,
                                need_tailroom += cip->ic_miclen;
        }
 
-       if (skb_shared(skb)) {
-               /* Take our own reference to the node in the clone */
-               ieee80211_ref_node(SKB_CB(skb)->ni);
-               /* Unshare the node, decrementing users in the old skb */
-               skb = skb_unshare(skb, GFP_ATOMIC);
-       }
-
 #ifdef ATH_SUPERG_FF
        if (isff) {
                if (skb == NULL) {