Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2019 13:57:28 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r343907 - in stable: 10/sys/dev/ipw 11/sys/dev/ipw 12/sys/dev/ipw
Message-ID:  <201902081357.x18DvS8W004975@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Fri Feb  8 13:57:28 2019
New Revision: 343907
URL: https://svnweb.freebsd.org/changeset/base/343907

Log:
  MFC r343603:
  ipw(4): reuse ieee80211_tx_complete function
  
  This should partially fix 'netstat -b -I wlan0' output

Modified:
  stable/10/sys/dev/ipw/if_ipw.c
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/sys/dev/ipw/if_ipw.c
  stable/12/sys/dev/ipw/if_ipw.c
Directory Properties:
  stable/11/   (props changed)
  stable/12/   (props changed)

Modified: stable/10/sys/dev/ipw/if_ipw.c
==============================================================================
--- stable/10/sys/dev/ipw/if_ipw.c	Fri Feb  8 13:54:16 2019	(r343906)
+++ stable/10/sys/dev/ipw/if_ipw.c	Fri Feb  8 13:57:28 2019	(r343907)
@@ -1357,10 +1357,7 @@ ipw_release_sbd(struct ipw_softc *sc, struct ipw_soft_
 		bus_dmamap_unload(sc->txbuf_dmat, sbuf->map);
 		SLIST_INSERT_HEAD(&sc->free_sbuf, sbuf, next);
 
-		if (sbuf->m->m_flags & M_TXCB)
-			ieee80211_process_callback(sbuf->ni, sbuf->m, 0/*XXX*/);
-		m_freem(sbuf->m);
-		ieee80211_free_node(sbuf->ni);
+		ieee80211_tx_complete(sbuf->ni, sbuf->m, 0/*XXX*/);
 
 		sc->sc_tx_timer = 0;
 		break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902081357.x18DvS8W004975>