Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2005 03:45:32 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 81423 for review
Message-ID:  <200508040345.j743jWen043369@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

Change 81423 by sam@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;
 		}
 		/*



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