diff options
author | Vasiliy Kulikov <segooon@gmail.com> | 2010-09-28 21:07:55 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-30 04:14:08 -0700 |
commit | 8db3271cb24d4298e39a249c4dd966b189b05e97 (patch) | |
tree | 7ece062848a7456dcda10618606541fcc64aa996 /drivers/staging/octeon | |
parent | 2166abebc55843409327ddf6cc424cafadd33a30 (diff) | |
download | blackbird-obmc-linux-8db3271cb24d4298e39a249c4dd966b189b05e97.tar.gz blackbird-obmc-linux-8db3271cb24d4298e39a249c4dd966b189b05e97.zip |
staging: ath6kl: use free_netdev(netdev) instead of kfree()
It is not guaranteed that free_netdev() is macro.
Freeing netdev without free_netdev() leads to net, tx leaks.
I might lead to dereferencing freed pointer.
Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/octeon')
0 files changed, 0 insertions, 0 deletions