Page MenuHomeFreeBSD

e1000: remove unused ifp backpointer
ClosedPublic

Authored by vmaffione on Nov 28 2021, 10:18 PM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.