rwatson     2006-04-22 19:10:03 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          in_pcb.c 
  Log:
  Remove pcbinfo locking from in_setsockaddr() and in_setpeeraddr();
  holding the inpcb lock is sufficient to prevent races in reading
  the address and port, as both the inpcb lock and pcbinfo lock are
  required to change the address/port.
  
  Improve consistency of spelling in assertions about inp != NULL.
  
  MFC after:      3 months
  
  Revision  Changes    Path
  1.173     +4 -6      src/sys/netinet/in_pcb.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to