cvs commit: src/sys/netinet udp_usrreq.c src/sys/netinet6 udp6_usrreq.c

Robert Watson rwatson at FreeBSD.org
Thu May 29 08:27:15 UTC 2008


rwatson     2008-05-29 08:27:14 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          udp_usrreq.c 
    sys/netinet6         udp6_usrreq.c 
  Log:
  Employ read locks on UDP inpcbs, rather than write locks, when
  monitoring UDP connections using sysctls.  In some cases, add
  previously missing locking of inpcbs, as inp_socket is followed,
  which also allows us to drop global locks more quickly.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.222     +18 -13    src/sys/netinet/udp_usrreq.c
  1.88      +12 -11    src/sys/netinet6/udp6_usrreq.c


More information about the cvs-src mailing list