[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170821.141315.2143125372476050164.davem@davemloft.net>
Date: Mon, 21 Aug 2017 14:13:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [RFC] about net: Fix inconsistent teardown and release of
private netdev state.
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 18 Aug 2017 20:40:01 -0700
> Let look at tun->pcpu_stats, for example.
>
> It is allocated at line 1831, before the register_netdevice()
>
> drivers/net/tun.c does not provide ndo_init()
I see the problem now.
And it's done this way because several steps need to occur, with
various kinds of dependencies, before the register_netdevice() call is
made.
I'll see if I can untangle this somehow.
Powered by blists - more mailing lists