From 0c97ab9691600b03a419782d3d9d847264d59102 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Tue, 8 Mar 2005 17:01:03 +0000 Subject: reclaim mbuf chain when ieee80211_crypto_encap fails Noticed by: David Young --- sys/dev/ath/if_ath.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/ath') diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 53febaf261cce..df046d340c407 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -2940,6 +2940,7 @@ ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf * 802.11 layer counts failures and provides * debugging/diagnostics. */ + m_freem(m0); return EIO; } /* -- cgit v1.3