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, Apr 26, 1:08 PM
Unknown Object (File)
Fri, Apr 26, 1:07 PM
Unknown Object (File)
Fri, Apr 26, 1:07 PM
Unknown Object (File)
Feb 4 2024, 7:45 PM
Unknown Object (File)
Dec 20 2023, 2:46 AM
Unknown Object (File)
Dec 15 2023, 8:29 AM
Unknown Object (File)
Dec 15 2023, 8:28 AM
Unknown Object (File)
Aug 25 2023, 2:39 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.