diff options
author | adrian <adrian@FreeBSD.org> | 2015-10-12 03:27:08 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-10-12 03:27:08 +0000 |
commit | 9c9f0d74e16010325bf5e43d168ce604b10a6943 (patch) | |
tree | 1b2473150d991e361c2b7c638b1825555a2fff7c /sys/dev/ath/if_ath_tx.h | |
parent | 2b83d5a980404ddde25f082a1515d59a921b7f4b (diff) | |
download | FreeBSD-src-9c9f0d74e16010325bf5e43d168ce604b10a6943.zip FreeBSD-src-9c9f0d74e16010325bf5e43d168ce604b10a6943.tar.gz |
net80211: separate mbuf cleanup from ieee80211_fragment()
* Create ieee80211_free_mbuf() which frees a list of mbufs.
* Use it in the fragment transmit path and ath / uath transmit paths.
* Call it in xmit_pkt() if the transmission fails; otherwise fragments
may be leaked.
This should be a big no-op.
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3769
Diffstat (limited to 'sys/dev/ath/if_ath_tx.h')
-rw-r--r-- | sys/dev/ath/if_ath_tx.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_tx.h b/sys/dev/ath/if_ath_tx.h index 281dbcb..19f7707 100644 --- a/sys/dev/ath/if_ath_tx.h +++ b/sys/dev/ath/if_ath_tx.h @@ -85,7 +85,6 @@ */ #define ATH_AGGR_MAXSIZE 65530 -extern void ath_freetx(struct mbuf *m); extern void ath_tx_node_flush(struct ath_softc *sc, struct ath_node *an); extern void ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq); extern void ath_txfrag_cleanup(struct ath_softc *sc, ath_bufhead *frags, |