cvs commit: src/sys/netinet6 raw_ip6.c

Robert Watson rwatson at
Sun Aug 31 20:06:34 UTC 2008

rwatson     2008-08-31 20:06:20 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netinet6         raw_ip6.c 
  SVN rev 182568 on 2008-08-31 20:06:20Z by rwatson
  Merge r180990 from head to stable/7:
    Adopt the slightly weaker consistency locking approach used in IPv4 raw
    sockets for IPv6 raw sockets: separately lock the inpcb for determining
    the destination address for a connect()'d raw socket at the rip6_send()
    layer, and then re-acquire the inpcb lock in the rip6_output() layer to
    query other options on the socket.  Previously, the global raw IP socket
    lock was used, which while correct and marginally more consistent, could
    add significantly to global raw IP socket lock contention.
  Revision  Changes    Path  +3 -7      src/sys/netinet6/raw_ip6.c

More information about the cvs-all mailing list