Page MenuHomeFreeBSD

e1000: remove unused ifp backpointer
ClosedPublic

Authored by vmaffione on Nov 28 2021, 10:18 PM.
Tags
None
Referenced Files
F132602035: D33157.id99122.diff
Sat, Oct 18, 8:12 AM
Unknown Object (File)
Mon, Oct 13, 8:26 AM
Unknown Object (File)
Sun, Oct 12, 8:30 AM
Unknown Object (File)
Sun, Oct 12, 8:30 AM
Unknown Object (File)
Sun, Oct 12, 8:30 AM
Unknown Object (File)
Thu, Oct 2, 1:02 PM
Unknown Object (File)
Wed, Sep 24, 11:01 PM
Unknown Object (File)
Sep 15 2025, 5:07 AM
Subscribers

Details

Summary

The ifp (struct ifnet) backpointer in the e1000 private ifnet
data is not used anymore since the iflib transition.
Remove it so that developers are not tempted to use it and
get a NULL pointer dereference.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable