From owner-cvs-all@FreeBSD.ORG Fri Sep 15 15:53:11 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 0009116A40F; Fri, 15 Sep 2006 15:53:10 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC63F43D49; Fri, 15 Sep 2006 15:53:10 +0000 (GMT) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8FFrAa8005328; Fri, 15 Sep 2006 15:53:10 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8FFrA7C005327; Fri, 15 Sep 2006 15:53:10 GMT (envelope-from ru) Message-Id: <200609151553.k8FFrA7C005327@repoman.freebsd.org> From: Ruslan Ermilov Date: Fri, 15 Sep 2006 15:53:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph ng_eiface.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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, 15 Sep 2006 15:53:11 -0000 ru 2006-09-15 15:53:10 UTC FreeBSD src repository Modified files: sys/netgraph ng_eiface.c Log: SIOCSIFFLAGS doesn't require an argument in kernel land; instead, flags are supposed to be set directly in ifnet already. This change fixes a panic when ng_eiface node is attached to ng_fec node and the latter is shut down (ng_fec sets flags and then calls SIOCSIFFLAGS with a NULL argument). MFC after: 3 days Revision Changes Path 1.37 +1 -1 src/sys/netgraph/ng_eiface.c