diff options
author | sam <sam@FreeBSD.org> | 2005-03-08 17:01:03 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-03-08 17:01:03 +0000 |
commit | 85fe22a55b05887b98961887cc7f2adc931a8313 (patch) | |
tree | 5c11a8bd9d5adcce83203ba132e95bf1d89bf4a4 /sys/dev/ath | |
parent | 29c09959986c1ae26b219b240e9e00ab79e89524 (diff) | |
download | FreeBSD-src-85fe22a55b05887b98961887cc7f2adc931a8313.zip FreeBSD-src-85fe22a55b05887b98961887cc7f2adc931a8313.tar.gz |
reclaim mbuf chain when ieee80211_crypto_encap fails
Noticed by: David Young
Diffstat (limited to 'sys/dev/ath')
-rw-r--r-- | sys/dev/ath/if_ath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 53febaf..df046d3 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; } /* |