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)
Sun, Dec 8, 8:11 AM
Unknown Object (File)
Nov 24 2024, 9:01 PM
Unknown Object (File)
Oct 19 2024, 2:37 AM
Unknown Object (File)
Sep 26 2024, 1:59 PM
Unknown Object (File)
Sep 26 2024, 10:08 AM
Unknown Object (File)
Sep 24 2024, 5:11 AM
Unknown Object (File)
Sep 24 2024, 2:22 AM
Unknown Object (File)
Sep 23 2024, 5:47 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