1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 14:39:53 +02:00
openwrt-xburst/package/madwifi/patches/449-fix_txbuf_leak.patch

11 lines
294 B
Diff
Raw Normal View History

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