Re: unregister_netdevice: waiting for eth0 to become free. Usage count = 1

John Stultz
2017-08-10T18:12:15Z

On Wed, Aug 9, 2017 at 10:41 PM, Wei Wang <weiwan@google.com> wrote:
> Hi John,
>
> Is it possible to try the attached patch?

Thanks so much for the quick turn around!

So I dropped all the reverts you suggested, and applied this one
against 4.13-rc4, but I'm still seeing the problematic behavior.

> I am not sure if it actually fixes the issue. But I think it is worth a try.
> Also, could you get me all the ipv6 routes when you plug in the usb
> using "ip -6 route show"? (If you have multiple routing tables
> configured, could you dump them all?)

# ip -6 route show
2601:1c2:1002:83f0::/64 dev eth0 proto kernel metric 256 expires
345599sec pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
default via fe80::200:caff:fe11:2233 dev eth0 proto ra metric 1024
expires 1799sec hoplimit 64 pref medium

After unplugging the device (and getting the unregister_netdevice errors):
# ip -6 route show
#

thanks
-john