PERFORCE change 39613 for review

Sam Leffler sam at FreeBSD.org
Sun Oct 12 18:35:02 PDT 2003


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

Change 39613 by sam at sam_ebb on 2003/10/12 18:34:52

	Must reset the pointer to the 802.11 header after prepending
	for WEP in case the prepend requires adding a new mbuf.  This
	fixes basic 40-bit WEP.

Affected files ...

.. //depot/projects/netperf/sys/dev/ath/if_ath.c#17 edit

Differences ...

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

@@ -1725,6 +1725,7 @@
 			return ENOMEM;
 		}
 		ivp = hdrbuf + hdrlen;
+		wh = mtod(m0, struct ieee80211_frame *);
 		/*
 		 * XXX
 		 * IV must not duplicate during the lifetime of the key.


More information about the p4-projects mailing list