PERFORCE change 81423 for review

Sam Leffler sam at FreeBSD.org
Thu Aug 4 03:45:33 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=81423

Change 81423 by sam at sam_ebb on 2005/08/04 03:44:43

	o clear m_nextpkt when building a ff so ath_start doesn't think
	  the frame has been fragmented
	o plug mbuf leak on ff build failure

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_output.c#52 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_output.c#52 (text+ko) ====

@@ -557,6 +557,7 @@
 				"%s: only one frame\n", __func__);
 			goto bad;
 		}
+		m->m_nextpkt = NULL;
 		/*
 		 * Include fast frame headers in adjusting header
 		 * layout; this allocates space according to what
@@ -568,6 +569,7 @@
 			key, m);
 		if (m == NULL) {
 			/* NB: ieee80211_mbuf_adjust handles msgs+statistics */
+			m_freem(m2);
 			goto bad;
 		}
 		/*


More information about the p4-projects mailing list