diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-09-25 23:58:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-26 18:54:33 -0700 |
commit | 22138d307329e1968fc698821095b87c2fd5de12 (patch) | |
tree | 6c1a822fd4fbbda87cb64644920adb0923f51a23 /Makefile | |
parent | 52933f052186877afd218aef7a1b2dbdb010939f (diff) | |
download | op-kernel-dev-22138d307329e1968fc698821095b87c2fd5de12.zip op-kernel-dev-22138d307329e1968fc698821095b87c2fd5de12.tar.gz |
rionet: 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 'Makefile')
0 files changed, 0 insertions, 0 deletions