cvs commit: src/sys/netipx spx_usrreq.c

Robert Watson rwatson at FreeBSD.org
Fri Jan 13 16:05:44 PST 2006


rwatson     2006-01-14 00:05:44 UTC

  FreeBSD src repository

  Modified files:
    sys/netipx           spx_usrreq.c 
  Log:
  In spx_attach() and spx_detach(), there is no need to check whether the
  ipxpcb is NULL or not: in attach it will be, and on detach it won't be.
  If for any reason these invariants don't hold true, panicking is a good
  idea.
  
  Noticed by:     Coverity Prevent analysis tool
  MFC after:      3 days
  
  Revision  Changes    Path
  1.65      +0 -4      src/sys/netipx/spx_usrreq.c


More information about the cvs-all mailing list