[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091117.235323.15113392.davem@davemloft.net>
Date: Tue, 17 Nov 2009 23:53:23 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 2/2 net-next-2.6] vlan: Precise RX stats accounting
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 17 Nov 2009 15:53:09 +0100
> Given that vlan_setup(struct net_device *) is void and cannot
> return error status, unless using a global variable (ugly),
> or changing all setup() prototypes (oh well...)
>
> One possibility is to perform the allocation in vlan_dev_init()
> (called from register_netdevice()), and freeing it in vlan_dev_uninit().
That looks fine.
> [PATCH net-next-2.6 take2] vlan: Precise RX stats accounting
...
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists