From owner-svn-src-all@FreeBSD.ORG Thu Jun 18 21:15:41 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68BB0106564A; Thu, 18 Jun 2009 21:15:41 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 56FAA8FC15; Thu, 18 Jun 2009 21:15:41 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5ILFfpc022875; Thu, 18 Jun 2009 21:15:41 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5ILFfD7022873; Thu, 18 Jun 2009 21:15:41 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <200906182115.n5ILFfD7022873@svn.freebsd.org> From: Rui Paulo Date: Thu, 18 Jun 2009 21:15:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194461 - head/sys/net80211 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 21:15:41 -0000 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;