Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2017 13:45:57 -0800
From:      Matt Joras <matt.joras@gmail.com>
To:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Fix dangling pointer left by ifmedia_removeall
Message-ID:  <CADdTf%2BggybWCyg3gtMitmqqtBMgKpByHkEarhbWut%2BZLF13A-w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADdTf%2BggybWCyg3gtMitmqqtBMgKpByHkEarhbWut%2BZLF13A-w>