Date: Mon, 25 May 2009 13:34:04 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192757 - head/sys/netipx Message-ID: <200905251334.n4PDY460025249@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rwatson Date: Mon May 25 13:34:03 2009 New Revision: 192757 URL: http://svn.freebsd.org/changeset/base/192757 Log: Add missing call to ipx_pcbdetach() during SPX socket tear-down: not harmful in practice if running without INVARIANTS, but will panic with KASSERT enabled when SPX sockets are closed. MFC after: 3 days Modified: head/sys/netipx/spx_usrreq.c Modified: head/sys/netipx/spx_usrreq.c ============================================================================== --- head/sys/netipx/spx_usrreq.c Mon May 25 13:32:54 2009 (r192756) +++ head/sys/netipx/spx_usrreq.c Mon May 25 13:34:03 2009 (r192757) @@ -1253,6 +1253,7 @@ spx_detach(struct socket *so) IPX_LIST_LOCK(); IPX_LOCK(ipxp); spx_pcbdetach(ipxp); + ipx_pcbdetach(ipxp); ipx_pcbfree(ipxp); IPX_LIST_UNLOCK(); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905251334.n4PDY460025249>