PERFORCE change 135872 for review

Sam Leffler sam at FreeBSD.org
Thu Feb 21 05:59:13 UTC 2008


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

Change 135872 by sam at sam_ebb on 2008/02/21 05:58:45

	Propagate private mbuf flags when inserting an mbuf during
	encap. Our private flags are not defined as part of M_COPYFLAGS
	so we lost M_EAPOL (and potentially other bits) and broke WPA.

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_output.c#34 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_output.c#34 (text+ko) ====

@@ -737,6 +737,7 @@
 		m_move_pkthdr(n, m);
 		n->m_len = 0;			/* NB: m_gethdr does not set */
 		n->m_data += needed_space;
+		n->m_flags |= m->m_flags & M_80211_TX;
 		/*
 		 * Pull up Ethernet header to create the expected layout.
 		 * We could use m_pullup but that's overkill (i.e. we don't


More information about the p4-projects mailing list