3527f35222
| 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 (already merged) | 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 Approved by: re (scottl)