Date: Fri, 16 Sep 2005 11:11:52 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org 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 Message-ID: <200509161111.j8GBBq7X080453@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509161111.j8GBBq7X080453>