Skip to content
Commit cb0e51d8 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 73214f5d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment