From owner-cvs-src@FreeBSD.ORG Fri Mar 17 20:40:30 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 D064516A530; Fri, 17 Mar 2006 20:40:30 +0000 (UTC) (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 6F5A443D5D; Fri, 17 Mar 2006 20:40:17 +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 k2HKeH7T005472; Fri, 17 Mar 2006 20:40:17 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2HKeHJR005471; Fri, 17 Mar 2006 20:40:17 GMT (envelope-from rwatson) Message-Id: <200603172040.k2HKeHJR005471@repoman.freebsd.org> From: Robert Watson Date: Fri, 17 Mar 2006 20:40:17 +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/netatalk ddp_pcb.c ddp_usrreq.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 17 Mar 2006 20:40:31 -0000 rwatson 2006-03-17 20:40:17 UTC FreeBSD src repository Modified files: sys/netatalk ddp_pcb.c ddp_usrreq.c Log: Modify netatalk to ensure, and assert, that pcb's remain attached to sockets as long as the sockets have not been aborted or detached. Do not try to free the socket in pru_detach(), since sofree() will do so, if needed, once pru_detach() returns. Annotate a bug in ddp_abort(), which fails to free the socket; this is probably OK as ddp_abort() should never be called, so should instead be deleted. Revision Changes Path 1.48 +2 -3 src/sys/netatalk/ddp_pcb.c 1.46 +9 -23 src/sys/netatalk/ddp_usrreq.c