Root/package/madwifi/patches/449-fix_txbuf_leak.patch

1--- a/ath/if_ath.c
2+++ b/ath/if_ath.c
3@@ -3697,6 +3697,7 @@ ff_bypass:
4      */
5     skb = ieee80211_encap(ni, skb, &framecnt);
6     if (skb == NULL) {
7+ STAILQ_INSERT_TAIL(&bf_head, bf, bf_list);
8         DPRINTF(sc, ATH_DEBUG_XMIT,
9             "Dropping; encapsulation failure\n");
10         sc->sc_stats.ast_tx_encap++;
11

Archive Download this file



interactive