Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1870: madwifiLeakFix.diff

File madwifiLeakFix.diff, 428 bytes (added by dacker@roinet.com, 14 years ago)

patch to fix leak while preserving the comment removal

  • ath/if_ath.c

    old new  
    35423542                goto bad; 
    35433543        } 
    35443544 
    3545         bf->bf_node = ieee80211_ref_node(SKB_CB(skb)->ni); 
    3546         bf->bf_skb = skb; 
    3547  
    35483545        error = ath_tx_start(dev, SKB_CB(skb)->ni, bf, skb, 0); 
    35493546        if (error) { 
     3547                ieee80211_dev_kfree_skb(&skb); 
    35503548                ath_return_txbuf(sc, &bf); 
    35513549                return error; 
    35523550        }