Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2007 00:04:02 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 122172 for review
Message-ID:  <200706230004.l5N042wR054827@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122172

Change 122172 by sam@sam_aku on 2007/06/23 00:03:42

	process tx callbacks when draining the tx q; this fixes
	a problem where a device timeout that occurs with a mgt
	frame on the tx q will leave the net80211 layer w/o any
	way to make progress

Affected files ...

.. //depot/projects/wifi/sys/dev/ath/if_ath.c#146 edit

Differences ...

==== //depot/projects/wifi/sys/dev/ath/if_ath.c#146 (text+ko) ====

@@ -4865,8 +4865,10 @@
 		bf->bf_node = NULL;
 		if (ni != NULL) {
 			/*
-			 * Reclaim node reference.
+			 * Do any callback and reclaim the node reference.
 			 */
+			if (bf->bf_m->m_flags & M_TXCB)
+				ieee80211_process_callback(ni, bf->bf_m, -1);
 			ieee80211_free_node(ni);
 		}
 		m_freem(bf->bf_m);



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