From owner-cvs-src@FreeBSD.ORG Sat Oct 4 15:06:45 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 818C91065696; Sat, 4 Oct 2008 15:06:45 +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 6D4AE8FC08; Sat, 4 Oct 2008 15:06:45 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m94F6jW8034249; Sat, 4 Oct 2008 15:06:45 GMT (envelope-from bz@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m94F6jw2034248; Sat, 4 Oct 2008 15:06:45 GMT (envelope-from bz@repoman.freebsd.org) Message-Id: <200810041506.m94F6jw2034248@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, 4 Oct 2008 15:06: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 pf.c src/sys/netinet in_pcb.c in_pcb.h ip_fw2.c raw_ip.c tcp_subr.c udp_usrreq.c src/sys/netinet6 in6_pcb.c udp6_usrreq.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 04 Oct 2008 15:06:45 -0000 bz 2008-10-04 15:06:34 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf.c sys/netinet in_pcb.c in_pcb.h ip_fw2.c raw_ip.c tcp_subr.c udp_usrreq.c sys/netinet6 in6_pcb.c udp6_usrreq.c Log: SVN rev 183606 on 2008-10-04 15:06:34Z by bz Cache so_cred as inp_cred in the inpcb. This means that inp_cred is always there, even after the socket has gone away. It also means that it is constant for the lifetime of the inp. Both facts lead to simpler code and possibly less locking. Suggested by: rwatson Reviewed by: rwatson MFC after: 6 weeks X-MFC Note: use a inp_pspare for inp_cred Revision Changes Path 1.58 +5 -15 src/sys/contrib/pf/net/pf.c 1.221 +8 -4 src/sys/netinet/in_pcb.c 1.116 +1 -0 src/sys/netinet/in_pcb.h 1.197 +7 -15 src/sys/netinet/ip_fw2.c 1.195 +12 -11 src/sys/netinet/raw_ip.c 1.318 +2 -2 src/sys/netinet/tcp_subr.c 1.239 +1 -1 src/sys/netinet/udp_usrreq.c 1.97 +6 -6 src/sys/netinet6/in6_pcb.c 1.96 +1 -1 src/sys/netinet6/udp6_usrreq.c