aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/adaptec
diff options
context:
space:
mode:
authorKulikov Vasiliy <segooon@gmail.com>2010-09-25 23:58:00 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-26 18:54:32 -0700
commit52933f052186877afd218aef7a1b2dbdb010939f (patch)
treef2411bac21bebb47f105bb5237baba1ac16b7b16 /firmware/adaptec
parent62038e4a146b97352d5911e6ede36c58d4187c3e (diff)
downloadkernel_samsung_smdk4412-52933f052186877afd218aef7a1b2dbdb010939f.zip
kernel_samsung_smdk4412-52933f052186877afd218aef7a1b2dbdb010939f.tar.gz
kernel_samsung_smdk4412-52933f052186877afd218aef7a1b2dbdb010939f.tar.bz2
ibm_newemac: 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 'firmware/adaptec')
0 files changed, 0 insertions, 0 deletions