commit | cb0e51d80694fc9964436be1a1a15275e991cb1e | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Wed Mar 20 21:31:42 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 21 11:50:10 2013 -0400 |
tree | ed02c9196dc79c09712c9c113d606f921c558e24 | |
parent | 73214f5d9f33b79918b1f7babddd5c8af28dd23d [diff] |
lantiq_etop: use free_netdev(netdev) instead of kfree() 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>