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

Bjoern A. Zeeb bz at FreeBSD.org
Sat Oct 4 15:06:45 UTC 2008


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


More information about the cvs-all mailing list