[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1267515832.2843.7.camel@edumazet-laptop>
Date: Tue, 02 Mar 2010 08:43:52 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
bridge@...ts.linux-foundation.org
Subject: Re: [PATCH] bridge: per-cpu packet statistics
Le lundi 01 mars 2010 à 16:16 -0800, Stephen Hemminger a écrit :
> +static void br_dev_free(struct net_device *dev)
> +{
> + struct net_bridge *br = netdev_priv(dev);
> +
> + free_percpu(br->stats);
> +}
> +
> void br_dev_setup(struct net_device *dev)
> {
> random_ether_addr(dev->dev_addr);
> ether_setup(dev);
>
> dev->netdev_ops = &br_netdev_ops;
> - dev->destructor = free_netdev;
> + dev->destructor = br_dev_free;
> SET_ETHTOOL_OPS(dev, &br_ethtool_ops);
Isnt free_netdev() missing after this change ?
--
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