From owner-cvs-all@FreeBSD.ORG Sun Jul 4 18:32:54 2004 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 6C2D416A4CE; Sun, 4 Jul 2004 18:32:54 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DBBD43D45; Sun, 4 Jul 2004 18:32:54 +0000 (GMT) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i64IWsQ9054079; Sun, 4 Jul 2004 18:32:54 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i64IWsdw054078; Sun, 4 Jul 2004 18:32:54 GMT (envelope-from bms) Message-Id: <200407041832.i64IWsdw054078@repoman.freebsd.org> From: Bruce M Simpson Date: Sun, 4 Jul 2004 18:32:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net if_vlan.c 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: Sun, 04 Jul 2004 18:32:54 -0000 bms 2004-07-04 18:32:54 UTC FreeBSD src repository Modified files: sys/net if_vlan.c Log: Workaround a locking problem in vlan(4). vlan_setmulti() may be called with sleepable locks held from further up in the network stack, and attempts to allocate memory to hold multicast group membership information with M_WAITOK. This panic was triggered specifically when an exiting routing daemon process closes its raw sockets after joining multicast groups on them. While we're here, comment some possible locking badness. PR: kern/48560 Revision Changes Path 1.69 +11 -2 src/sys/net/if_vlan.c