From owner-cvs-src@FreeBSD.ORG Tue Mar 9 12:29:20 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76A2616A4CE; Tue, 9 Mar 2004 12:29:20 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ACE943D1D; Tue, 9 Mar 2004 12:29:20 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i29KTKGe001686; Tue, 9 Mar 2004 12:29:20 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i29KTKKq001685; Tue, 9 Mar 2004 12:29:20 -0800 (PST) (envelope-from rwatson) Message-Id: <200403092029.i29KTKKq001685@repoman.freebsd.org> From: Robert Watson Date: Tue, 9 Mar 2004 12:29:20 -0800 (PST) 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_stf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 20:29:20 -0000 rwatson 2004/03/09 12:29:20 PST FreeBSD src repository Modified files: sys/net if_stf.c Log: Introduce stf_mtx to protect global softc list in if_stf. Add stf_destroy() to handle the common softc destruction path for the two destruction sources: interface cloning destroy, and module unload. NOTE: sc_ro, the cached route for stf conversion, is not synchronized against concurrent access in this change, that will follow in a future change. Reviewed by: pjd Revision Changes Path 1.37 +39 -8 src/sys/net/if_stf.c