From owner-cvs-all@FreeBSD.ORG Fri Sep 26 10:00:48 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA73116A4B3; Fri, 26 Sep 2003 10:00:48 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C222344031; Fri, 26 Sep 2003 10:00:44 -0700 (PDT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h8QH0iXJ031592; Fri, 26 Sep 2003 10:00:44 -0700 (PDT) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h8QH0ijZ031591; Fri, 26 Sep 2003 10:00:44 -0700 (PDT) (envelope-from sam) Message-Id: <200309261700.h8QH0ijZ031591@repoman.freebsd.org> From: Sam Leffler Date: Fri, 26 Sep 2003 10:00:44 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net80211 ieee80211_node.c ieee80211_node.h ieee80211_var.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2003 17:00:49 -0000 sam 2003/09/26 10:00:44 PDT FreeBSD src repository Modified files: sys/net80211 ieee80211_node.c ieee80211_node.h ieee80211_var.h Log: Try yet again to deal with timing out nodes. We cannot hold the node lock while sending a management frame as this will potentially result in a LOR with a driver lock. This doesn't happen for the Atheros driver but does for the wi driver. Use a generation number to help process each node once when scanning the node table and drop the node lock if we need to timeout a node and send a frame. Revision Changes Path 1.9 +25 -6 src/sys/net80211/ieee80211_node.c 1.6 +1 -0 src/sys/net80211/ieee80211_node.h 1.7 +1 -0 src/sys/net80211/ieee80211_var.h