diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-09-26 01:58:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-27 03:54:34 +0200 |
commit | 8d879de89807d82bc4cc3e9d73609b874fa9458c (patch) | |
tree | 4c654cab6a0dc46f4e5f7e0330bc22c4747acbc2 /drivers/char/uv_mmtimer.c | |
parent | rionet: use free_netdev(netdev) instead of kfree() (diff) | |
download | linux-8d879de89807d82bc4cc3e9d73609b874fa9458c.tar.xz linux-8d879de89807d82bc4cc3e9d73609b874fa9458c.zip |
sgiseeq: use free_netdev(netdev) instead of kfree()
Freeing netdev without free_netdev() leads to net, tx leaks.
I might lead to dereferencing freed pointer.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
@@
struct net_device* dev;
@@
-kfree(dev)
+free_netdev(dev)
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char/uv_mmtimer.c')
0 files changed, 0 insertions, 0 deletions