1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys/pci
Bjoern A. Zeeb e7f8ebb45e Do not try to free non allocated memory in error case.
Do our best to plug some memory leaks (VPD data, jumbo memory buffer,...).
Log if we cannot free because memory still in use[1].
Change locking to avoid ''acquiring duplicate lock of same
  type: "network driver"'' and potential deadlock. Also seems to fix LOR #063.

[1] This change does not solve problems if buffers are still in use when
    unloading if_sk.ko. There is ongoing work which will address jumbogram
    allocations in a more general way.

PR:		kern/75677 (with changes, no mii fixes in here)
Tested by:	net, Antoine Brodin (slightly different version)
Approved by:	rwatson (mentor)
MFC after:	5 days
2005-03-17 14:27:22 +00:00
..
agp_ali.c Add device id for the Ali M1671 host to AGP bridge. 2005-02-27 13:05:34 +00:00
agp_amd64.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp_amd.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp_i810.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp_if.m /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
agp_intel.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp_nvidia.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
agp_sis.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp_via.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp.c
agppriv.h
agpreg.h
agpvar.h
alpm.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
amdpm.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
dc21040reg.h
if_dc.c Bugger, wiped out a needed comma in the previous commit. 2005-03-09 00:54:55 +00:00
if_dcreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_de.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
if_devar.h
if_mn.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_pcn.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_pcnreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_rl.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_rlreg.h Bring in support for SUGOI LAN GIGA NIC made by System TALKS, Inc from 2005-01-22 22:40:53 +00:00
if_sf.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_sfreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_sis.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
if_sisreg.h Revert local experiment which leaked into commit. 2005-01-07 23:54:16 +00:00
if_sk.c Do not try to free non allocated memory in error case. 2005-03-17 14:27:22 +00:00
if_skreg.h Do not try to free non allocated memory in error case. 2005-03-17 14:27:22 +00:00
if_ste.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_stereg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_ti.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_tireg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_tl.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_tlreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_vr.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_vrreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_wb.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_wbreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_xl.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_xlreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
intpm.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
intpmreg.h
locate.pl
ncr.c Add back 'n' that went missing in last commit 2005-02-25 03:43:43 +00:00
ncrreg.h Fix typos from previous commit. 2005-01-07 05:01:24 +00:00
ti_fw2.h
ti_fw.h
viapm.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
xmaciireg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
xrpu.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
yukonreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00