Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2006 12:09:58 +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 in6_src.c
Message-ID:  <200604251209.k3PC9wT1056659@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2006-04-25 12:09:58 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet6         in6_pcb.c in6_src.c 
  Log:
  Move lock assertions to top of in6_pcbladdr(): we still want them to run
  even if we're going to return an argument-based error.
  
  Assert pcbinfo lock in in6_pcblookup_local(), in6_pcblookup_hash(), since
  they walk pcbinfo inpcb lists.
  
  Assert inpcb and pcbinfo locks in in6_pcbsetport(), since
  port reservations are changing.
  
  MFC after:      3 months
  
  Revision  Changes    Path
  1.70      +7 -3      src/sys/netinet6/in6_pcb.c
  1.37      +3 -0      src/sys/netinet6/in6_src.c



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