From owner-cvs-all@FreeBSD.ORG Fri Nov 14 13:48:58 2003 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 3A19516A4CE; Fri, 14 Nov 2003 13:48:58 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B512543FE1; Fri, 14 Nov 2003 13:48:57 -0800 (PST) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAELmvXJ076290; Fri, 14 Nov 2003 13:48:57 -0800 (PST) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAELmvPV076289; Fri, 14 Nov 2003 13:48:57 -0800 (PST) (envelope-from andre) Message-Id: <200311142148.hAELmvPV076289@repoman.freebsd.org> From: Andre Oppermann Date: Fri, 14 Nov 2003 13:48:57 -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/netinet in_rmx.c ip_fw2.c ip_icmp.c ip_input.c ip_output.c ip_var.h 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: Fri, 14 Nov 2003 21:48:58 -0000 andre 2003/11/14 13:48:57 PST FreeBSD src repository Modified files: sys/netinet in_rmx.c ip_fw2.c ip_icmp.c ip_input.c ip_output.c ip_var.h Log: Remove the global one-level rtcache variable and associated complex locking and rework ip_rtaddr() to do its own rtlookup. Adopt all its callers to this and make ip_output() callable with NULL rt pointer. Reviewed by: sam (mentor) Revision Changes Path 1.49 +0 -7 src/sys/netinet/in_rmx.c 1.44 +1 -6 src/sys/netinet/ip_fw2.c 1.83 +5 -11 src/sys/netinet/ip_icmp.c 1.254 +88 -199 src/sys/netinet/ip_input.c 1.201 +8 -17 src/sys/netinet/ip_output.c 1.80 +1 -2 src/sys/netinet/ip_var.h