Page MenuHomeFreeBSD

e1000: remove unused ifp backpointer
ClosedPublic

Authored by vmaffione on Nov 28 2021, 10:18 PM.
Tags
None
Referenced Files
F84259751: D33157.diff
Tue, May 21, 2:14 PM
Unknown Object (File)
Tue, May 14, 6:05 AM
Unknown Object (File)
Sun, May 12, 1:50 PM
Unknown Object (File)
Sun, May 5, 10:08 PM
Unknown Object (File)
Fri, Apr 26, 9:09 PM
Unknown Object (File)
Mon, Apr 22, 3:03 AM
Unknown Object (File)
Jan 15 2024, 9:44 AM
Unknown Object (File)
Dec 22 2023, 11:32 PM
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

Lint
Lint Skipped
Unit
Tests Skipped