Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2006 05:24:23 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet6 in6_pcb.c
Message-ID:  <200604150524.k3F5ON4i019342@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2006-04-15 05:24:23 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet6         in6_pcb.c 
  Log:
  Mirror IPv4 pcb locking into in6_setsockaddr() and in6_setpeeraddr():
  acquire inpcb lock when reading inpcb port+address in order to prevent
  races with other threads that may be changing them.
  
  MFC after:      3 months
  
  Revision  Changes    Path
  1.68      +4 -0      src/sys/netinet6/in6_pcb.c



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