Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2009 21:15:41 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194461 - head/sys/net80211
Message-ID:  <200906182115.n5ILFfD7022873@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Thu Jun 18 21:15:41 2009
New Revision: 194461
URL: http://svn.freebsd.org/changeset/base/194461

Log:
  ieee80211_dwds_mcast(): check the correct mbuf ptr after encap.

Modified:
  head/sys/net80211/ieee80211_wds.c

Modified: head/sys/net80211/ieee80211_wds.c
==============================================================================
--- head/sys/net80211/ieee80211_wds.c	Thu Jun 18 20:56:22 2009	(r194460)
+++ head/sys/net80211/ieee80211_wds.c	Thu Jun 18 21:15:41 2009	(r194461)
@@ -282,7 +282,7 @@ ieee80211_dwds_mcast(struct ieee80211vap
 		 * Encapsulate the packet in prep for transmission.
 		 */
 		mcopy = ieee80211_encap(vap, ni, mcopy);
-		if (m == NULL) {
+		if (mcopy == NULL) {
 			/* NB: stat+msg handled in ieee80211_encap */
 			ieee80211_free_node(ni);
 			continue;



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