Fix dangling pointer left by ifmedia_removeall

Matt Joras matt.joras at gmail.com
Thu Jan 12 21:45:59 UTC 2017


I thought I'd bring this review to people's attention:
https://reviews.freebsd.org/D9164

The problem is fairly straightforward, as is the fix. ixgbe(4) uses
ifmedia_removeall in a way that other drivers do not, which ends up
leaving a dangling pointer in the ifmedia struct leading to incorrect
information displayed by ifconfig(8).

Matt


More information about the freebsd-net mailing list