Page MenuHomeFreeBSD

Cleanup unused inpcb fields/flags
ClosedPublic

Authored by bz on Sep 6 2018, 4:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 3 2024, 9:32 PM
Unknown Object (File)
Oct 2 2024, 9:06 PM
Unknown Object (File)
Oct 2 2024, 6:19 AM
Unknown Object (File)
Sep 30 2024, 9:07 AM
Unknown Object (File)
Sep 30 2024, 1:55 AM
Unknown Object (File)
Sep 26 2024, 12:04 PM
Unknown Object (File)
Sep 25 2024, 10:20 AM
Unknown Object (File)
Sep 20 2024, 10:29 PM
Subscribers

Details

Summary

The inp_lle field to struct inpcb, along with two "valid" flags
for the rt and lle cache were added in r191129 (2009).
To my best knowledge they have never been used and route caching
has converted the inp_rt field from that commit to inp_route
rendering these fields obsolete.

Convert the pointer into a spare pointer to not change the size of
the structure anymore (and to have a spare pointer) and mark the
to fields as unused.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Sep 6 2018, 6:44 PM
This revision was automatically updated to reflect the committed changes.

Since struct inpcb is no longer exported to the userland, the spare field can be removed.