From owner-cvs-src@FreeBSD.ORG Fri Sep 16 11:11:52 2005 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 C3C6D16A41F; Fri, 16 Sep 2005 11:11:52 +0000 (GMT) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6307B43D45; Fri, 16 Sep 2005 11:11:52 +0000 (GMT) (envelope-from ru@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 j8GBBqpj080454; Fri, 16 Sep 2005 11:11:52 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8GBBq7X080453; Fri, 16 Sep 2005 11:11:52 GMT (envelope-from ru) Message-Id: <200509161111.j8GBBq7X080453@repoman.freebsd.org> From: Ruslan Ermilov Date: Fri, 16 Sep 2005 11:11:52 +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/pci if_dc.c if_pcn.c if_rl.c if_sf.c if_sis.c if_sk.c if_ste.c if_ti.c if_tl.c if_vr.c if_wb.c if_xl.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, 16 Sep 2005 11:11:52 -0000 ru 2005-09-16 11:11:52 UTC FreeBSD src repository Modified files: sys/pci if_dc.c if_pcn.c if_rl.c if_sf.c if_sis.c if_sk.c if_ste.c if_ti.c if_tl.c if_vr.c if_wb.c if_xl.c Log: Fix "struct ifnet" leaks when attach() fails in the middle, e.g. when mii_phy_probe() or bus_setup_intr() fails. For drivers that call their detach() in this case, call if_free() there to cover this case too. Revision Changes Path 1.168 +2 -2 src/sys/pci/if_dc.c 1.75 +2 -2 src/sys/pci/if_pcn.c 1.156 +3 -5 src/sys/pci/if_rl.c 1.87 +2 -2 src/sys/pci/if_sf.c 1.136 +2 -3 src/sys/pci/if_sis.c 1.110 +2 -3 src/sys/pci/if_sk.c 1.89 +2 -2 src/sys/pci/if_ste.c 1.110 +2 -2 src/sys/pci/if_ti.c 1.103 +2 -2 src/sys/pci/if_tl.c 1.107 +2 -2 src/sys/pci/if_vr.c 1.83 +2 -2 src/sys/pci/if_wb.c 1.196 +2 -2 src/sys/pci/if_xl.c