Page MenuHomeFreeBSD

Plug routetbl memory leaks on vnet shutdown
ClosedPublic

Authored by bz on Dec 12 2015, 2:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 21, 8:23 PM
Unknown Object (File)
Mar 13 2025, 5:52 PM
Unknown Object (File)
Feb 23 2025, 4:47 PM
Unknown Object (File)
Feb 22 2025, 3:00 AM
Unknown Object (File)
Feb 19 2025, 9:25 AM
Unknown Object (File)
Feb 19 2025, 5:15 AM
Unknown Object (File)
Feb 16 2025, 8:24 AM
Unknown Object (File)
Feb 6 2025, 10:22 PM
Subscribers

Details

Summary

Since r256624 we've been leaking routing table allocations
on vnet enabled jail shutdown. Call the provided cleanup
routines for IPs to plug these leaks.

Sponsored by: The FreeBSD Foundation
MFC atfer: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz retitled this revision from to Plug routetbl memory leaks on vnet shutdown.
bz updated this object.
bz edited the test plan for this revision. (Show Details)
bz added reviewers: gnn, emaste.
gnn edited edge metadata.
This revision is now accepted and ready to land.Dec 15 2015, 3:36 PM
This revision was automatically updated to reflect the committed changes.
kbowling added inline comments.
head/sys/netinet6/in6_rmx.c
270

Did you intend to replace return(1)?

Fixed in follow-up commit r292654.

head/sys/netinet6/in6_rmx.c
270

Yes. For one thing the caller treats it as (void) so the return value doesn't matter at all, for the other thing, ... whoops. Now I see what you mean. Fixed in r292654.