Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2008 15:06:34 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@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:  <200810041506.m94F6jw2034248@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810041506.m94F6jw2034248>