Hiroaki SHIMODA 890fdf2a0c dummy: Add ndo_uninit().
In register_netdevice(), when ndo_init() is successful and later
some error occurred, ndo_uninit() will be called.
So dummy deivce is desirable to implement ndo_uninit() method
to free percpu stats for this case.
And, ndo_uninit() is also called along with dev->destructor() when
device is unregistered, so in order to prevent dev->dstats from
being freed twice, dev->destructor is modified to free_netdev().

Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-16 23:56:36 -04:00
..
2012-04-16 23:54:22 -04:00
2012-04-16 23:56:36 -04:00
2012-03-27 22:45:26 -04:00
2012-02-14 10:45:42 +11:00
2012-02-01 16:49:50 +01:00
2012-03-28 18:30:03 +01:00
2012-04-06 17:54:53 -07:00