Page MenuHomeFreeBSD

e1000: remove unused ifp backpointer
ClosedPublic

Authored by vmaffione on Nov 28 2021, 10:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 4, 7:06 PM
Unknown Object (File)
Tue, Nov 4, 7:01 PM
Unknown Object (File)
Tue, Nov 4, 7:00 PM
Unknown Object (File)
Tue, Nov 4, 6:59 PM
Unknown Object (File)
Oct 23 2025, 2:34 AM
Unknown Object (File)
Oct 21 2025, 2:36 AM
Unknown Object (File)
Oct 18 2025, 8:12 AM
Unknown Object (File)
Oct 13 2025, 8:26 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