From owner-cvs-src@FreeBSD.ORG Sun Jan 2 14:46:19 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07FE316A4CE; Sun, 2 Jan 2005 14:46:19 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D78D443D46; Sun, 2 Jan 2005 14:46:18 +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 j02EkInO016489; Sun, 2 Jan 2005 14:46:18 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j02EkIZc016488; Sun, 2 Jan 2005 14:46:18 GMT (envelope-from rwatson) Message-Id: <200501021446.j02EkIZc016488@repoman.freebsd.org> From: Robert Watson Date: Sun, 2 Jan 2005 14:46:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netipx spx_usrreq.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2005 14:46:19 -0000 rwatson 2005-01-02 14:46:18 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: Improve handling of SPX session timeout, specifically, make sure to properly handle the case where a connection is disconnected. The queue(9)-enabled version of this code broke from the inner but not outer loop, and so potentially frobbed an ipxpcb flag after the ipxpcb was free'd, which might be picked up later by the malloc debugging code. Properly break from the loop context and avoid touching the cb/ipxpcb after free. Revision Changes Path 1.53 +8 -5 src/sys/netipx/spx_usrreq.c