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)
Dec 10 2023, 5:16 PM
Unknown Object (File)
Nov 23 2023, 3:59 PM
Unknown Object (File)
Nov 15 2023, 5:27 AM
Unknown Object (File)
Nov 9 2023, 12:50 AM
Unknown Object (File)
Nov 7 2023, 10:36 AM
Unknown Object (File)
Nov 6 2023, 7:36 AM
Unknown Object (File)
Nov 6 2023, 12:22 AM
Unknown Object (File)
Nov 4 2023, 10:45 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 19436

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.