From owner-svn-src-all@FreeBSD.ORG Thu Apr 30 22:30:02 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 3E9E71065674; Thu, 30 Apr 2009 22:30:02 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2D06A8FC08; Thu, 30 Apr 2009 22:30:02 +0000 (UTC) (envelope-from thompsa@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 n3UMU2SQ024657; Thu, 30 Apr 2009 22:30:02 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3UMU2oY024656; Thu, 30 Apr 2009 22:30:02 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <200904302230.n3UMU2oY024656@svn.freebsd.org> From: Andrew Thompson Date: Thu, 30 Apr 2009 22:30:02 +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: r191710 - head/sys/dev/usb/wlan 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, 30 Apr 2009 22:30:02 -0000 Author: thompsa Date: Thu Apr 30 22:30:01 2009 New Revision: 191710 URL: http://svn.freebsd.org/changeset/base/191710 Log: We need to ref the bss node when sending the beacon since it goes through the normal tx path and will be decremented on the mbuf free. Modified: head/sys/dev/usb/wlan/if_ural.c Modified: head/sys/dev/usb/wlan/if_ural.c ============================================================================== --- head/sys/dev/usb/wlan/if_ural.c Thu Apr 30 22:16:29 2009 (r191709) +++ head/sys/dev/usb/wlan/if_ural.c Thu Apr 30 22:30:01 2009 (r191710) @@ -760,7 +760,7 @@ ural_task(struct usb2_proc_msg *pm) "could not allocate beacon\n"); return; } - + ieee80211_ref_node(ni); if (ural_tx_bcn(sc, m, ni) != 0) { device_printf(sc->sc_dev, "could not send beacon\n");