Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2006 00:05:44 +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/netipx spx_usrreq.c
Message-ID:  <200601140005.k0E05iqn099798@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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