cvs commit: src/sys/net raw_usrreq.c src/sys/netkey keysock.c

Robert Watson rwatson at FreeBSD.org
Sat Apr 1 15:55:45 UTC 2006


rwatson     2006-04-01 15:55:44 UTC

  FreeBSD src repository

  Modified files:
    sys/net              raw_usrreq.c 
    sys/netkey           keysock.c 
  Log:
  In raw and raw-derived socket types, maintain and enforce invariant that
  the so_pcb pointer on the socket is always non-NULL.  This eliminates
  countless unnecessary error checks, replacing them with assertions.
  
  MFC after:      3 months
  
  Revision  Changes    Path
  1.40      +7 -19     src/sys/net/raw_usrreq.c
  1.35      +1 -2      src/sys/netkey/keysock.c


More information about the cvs-src mailing list