diff options
author | Vasiliy Kulikov <segooon@gmail.com> | 2010-09-28 21:08:01 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-30 04:14:20 -0700 |
commit | c4711c3acb9fbe7f559ead7ff511dba3665a048e (patch) | |
tree | 822a393b751aadaec89e1b0dc07b3c3db1ea64e1 /kernel/padata.c | |
parent | 8db3271cb24d4298e39a249c4dd966b189b05e97 (diff) | |
download | kernel_samsung_espresso10-c4711c3acb9fbe7f559ead7ff511dba3665a048e.zip kernel_samsung_espresso10-c4711c3acb9fbe7f559ead7ff511dba3665a048e.tar.gz kernel_samsung_espresso10-c4711c3acb9fbe7f559ead7ff511dba3665a048e.tar.bz2 |
staging: octeon: 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>
Acked-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions