From owner-cvs-src-old@FreeBSD.ORG Sat Feb 20 20:00:09 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CA631065744 for ; Sat, 20 Feb 2010 20:00:09 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EAEEE8FC14 for ; Sat, 20 Feb 2010 20:00:08 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o1KK08rL042757 for ; Sat, 20 Feb 2010 20:00:08 GMT (envelope-from bz@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o1KK086l042756 for cvs-src-old@freebsd.org; Sat, 20 Feb 2010 20:00:08 GMT (envelope-from bz@repoman.freebsd.org) Message-Id: <201002202000.o1KK086l042756@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bz@repoman.freebsd.org using -f From: "Bjoern A. Zeeb" Date: Sat, 20 Feb 2010 19:59:52 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet in_proto.c ip_input.c ip_var.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2010 20:00:09 -0000 bz 2010-02-20 19:59:52 UTC FreeBSD src repository Modified files: sys/netinet in_proto.c ip_input.c ip_var.h Log: SVN rev 204140 on 2010-02-20 19:59:52Z by bz Split up ip_drain() into an outer lock and iterator part and a "locked" version that will only handle a single network stack instance. The latter is called directly from ip_destroy(). Hook up an ip_destroy() function to release resources from the legacy IP network layer upon virtual network stack teardown. Sponsored by: ISPsystem Reviewed by: rwatson MFC After: 5 days Revision Changes Path 1.101 +3 -0 src/sys/netinet/in_proto.c 1.380 +34 -8 src/sys/netinet/ip_input.c 1.118 +3 -0 src/sys/netinet/ip_var.h