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

Ruslan Ermilov ru at FreeBSD.org
Fri Sep 16 04:11:52 PDT 2005


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


More information about the cvs-all mailing list