lantiq_etop: use free_netdev(netdev) instead of kfree()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 20 Mar 2013 21:31:42 +0000 (21:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Mar 2013 15:50:10 +0000 (11:50 -0400)
Freeing netdev without free_netdev() leads to net, tx leaks.
And it may lead to dereferencing freed pointer.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found