summaryrefslogtreecommitdiffstats
path: root/sys/fs/cd9660/cd9660_vnops.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2005-03-17 14:27:22 +0000
committerbz <bz@FreeBSD.org>2005-03-17 14:27:22 +0000
commit63691d918e48d1eaf923390178696885f14fa240 (patch)
tree55ecf4eb60058ba8a03eba1c891267f63c4cb8fb /sys/fs/cd9660/cd9660_vnops.c
parente2f49ebf076060ca0bc87c59da336c3d2fa55f6a (diff)
downloadFreeBSD-src-63691d918e48d1eaf923390178696885f14fa240.zip
FreeBSD-src-63691d918e48d1eaf923390178696885f14fa240.tar.gz
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
Diffstat (limited to 'sys/fs/cd9660/cd9660_vnops.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud