diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2005-03-31 16:39:18 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2005-03-31 16:39:18 +0000 |
| commit | fe234894e5d04f8843e1a886d085c777644d9f7f (patch) | |
| tree | e0b5b6ef9852b38e9f48ceda029f89138f7da175 /sys/dev/ath | |
| parent | 621b33fc5bb319d80e027197635f0846292cd5a4 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ath')
| -rw-r--r-- | sys/dev/ath/if_ath.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 013500fd5ac6..b2bcb089de7a 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -1104,6 +1104,7 @@ ath_start(struct ifnet *ifp) ni = ieee80211_find_txnode(ic, eh->ether_dhost); if (ni == NULL) { /* NB: ieee80211_find_txnode does stat+msg */ + m_freem(m); goto bad; } if ((ni->ni_flags & IEEE80211_NODE_PWR_MGT) && @@ -1121,6 +1122,7 @@ ath_start(struct ifnet *ifp) DPRINTF(sc, ATH_DEBUG_XMIT, "%s: discard, classification failure\n", __func__); + m_freem(m); goto bad; } ifp->if_opackets++; |
