From owner-cvs-all@FreeBSD.ORG Sat Jan 14 00:05:44 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B439616A41F; Sat, 14 Jan 2006 00:05:44 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BE7043D45; Sat, 14 Jan 2006 00:05:44 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0E05idt099799; Sat, 14 Jan 2006 00:05:44 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0E05iqn099798; Sat, 14 Jan 2006 00:05:44 GMT (envelope-from rwatson) Message-Id: <200601140005.k0E05iqn099798@repoman.freebsd.org> From: Robert Watson Date: Sat, 14 Jan 2006 00:05:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netipx spx_usrreq.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 00:05:44 -0000 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