From owner-cvs-all@FreeBSD.ORG Tue Nov 8 20:08:35 2005 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 5726A16A454; Tue, 8 Nov 2005 20:08:35 +0000 (GMT) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BD3C43D46; Tue, 8 Nov 2005 20:08:35 +0000 (GMT) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jA8K8YWI025638; Tue, 8 Nov 2005 20:08:34 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jA8K8Y97025637; Tue, 8 Nov 2005 20:08:34 GMT (envelope-from thompsa) Message-Id: <200511082008.jA8K8Y97025637@repoman.freebsd.org> From: Andrew Thompson Date: Tue, 8 Nov 2005 20:08:34 +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/contrib/pf/net if_pflog.c if_pfsync.c src/sys/net if_bridge.c if_bridgevar.h if_clone.c if_clone.h if_disc.c if_faith.c if_gif.c if_gre.c if_ppp.c if_stf.c if_var.h if_vlan.c src/sys/netinet ip_carp.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: Tue, 08 Nov 2005 20:08:35 -0000 thompsa 2005-11-08 20:08:34 UTC FreeBSD src repository Modified files: sys/contrib/pf/net if_pflog.c if_pfsync.c sys/net if_bridge.c if_bridgevar.h if_clone.c if_clone.h if_disc.c if_faith.c if_gif.c if_gre.c if_ppp.c if_stf.c if_var.h if_vlan.c sys/netinet ip_carp.c Log: Move the cloned interface list management in to if_clone. For some drivers the softc lists and associated mutex are now unused so these have been removed. Calling if_clone_detach() will now destroy all the cloned interfaces for the driver and in most cases is all thats needed to unload. Idea by: brooks Reviewed by: brooks Revision Changes Path 1.17 +0 -3 src/sys/contrib/pf/net/if_pflog.c 1.25 +0 -3 src/sys/contrib/pf/net/if_pfsync.c 1.31 +0 -18 src/sys/net/if_bridge.c 1.6 +0 -1 src/sys/net/if_bridgevar.h 1.8 +61 -9 src/sys/net/if_clone.c 1.3 +1 -0 src/sys/net/if_clone.h 1.50 +0 -21 src/sys/net/if_disc.c 1.39 +0 -22 src/sys/net/if_faith.c 1.56 +0 -9 src/sys/net/if_gif.c 1.37 +0 -9 src/sys/net/if_gre.c 1.110 +0 -8 src/sys/net/if_ppp.c 1.52 +0 -25 src/sys/net/if_stf.c 1.104 +1 -0 src/sys/net/if_var.h 1.90 +0 -3 src/sys/net/if_vlan.c 1.35 +0 -3 src/sys/netinet/ip_carp.c