Date: Thu, 30 Oct 2008 16:29:04 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <200810301629.m9UGTUUF058644@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2008-10-30 16:29:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) 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 184481 on 2008-10-30 16:29:04Z by bz MFC: r183606, r183610 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. Approved by: re (gnn) Revision Changes Path 1.46.2.5 +5 -15 src/sys/contrib/pf/net/pf.c 1.196.2.15 +8 -4 src/sys/netinet/in_pcb.c 1.100.2.10 +2 -1 src/sys/netinet/in_pcb.h 1.175.2.13 +7 -15 src/sys/netinet/ip_fw2.c 1.180.2.7 +12 -12 src/sys/netinet/raw_ip.c 1.300.2.8 +2 -2 src/sys/netinet/tcp_subr.c 1.218.2.8 +1 -1 src/sys/netinet/udp_usrreq.c 1.84.2.10 +6 -6 src/sys/netinet6/in6_pcb.c 1.81.2.10 +1 -1 src/sys/netinet6/udp6_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810301629.m9UGTUUF058644>