linux/drivers/s390/net
Vasiliy Kulikov bc68580d41 s390: 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>
2010-09-26 18:56:06 -07:00
..
claw.c claw: rename READ/WRITE defines to avoid redefinitions 2010-08-12 16:04:22 -07:00
claw.h claw: rename READ/WRITE defines to avoid redefinitions 2010-08-12 16:04:22 -07:00
ctcm_dbug.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ctcm_dbug.h s390/net/ctcm: message cleanup 2008-07-22 17:53:46 -04:00
ctcm_fsms.c ctcm: rename READ/WRITE defines to avoid redefinitions 2010-08-12 16:04:23 -07:00
ctcm_fsms.h s390: remove cu3088 layer for lcs and ctcm 2009-11-13 20:47:00 -08:00
ctcm_main.c s390: use free_netdev(netdev) instead of kfree() 2010-09-26 18:56:06 -07:00
ctcm_main.h ctcm: rename READ/WRITE defines to avoid redefinitions 2010-08-12 16:04:23 -07:00
ctcm_mpc.c ctcm: rename READ/WRITE defines to avoid redefinitions 2010-08-12 16:04:23 -07:00
ctcm_mpc.h s390/net/ctcm: message cleanup 2008-07-22 17:53:46 -04:00
ctcm_sysfs.c ctcm: rename READ/WRITE defines to avoid redefinitions 2010-08-12 16:04:23 -07:00
fsm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fsm.h ctcm: suspend has to wait for outstanding I/O 2009-11-13 20:46:59 -08:00
Kconfig [S390] smsgiucv_app: deliver z/VM CP special messages (SMSG) as uevents 2010-03-08 12:26:28 +01:00
lcs.c drivers/s390/net: Drop memory allocation cast 2010-05-17 22:42:54 -07:00
lcs.h s390: remove cu3088 layer for lcs and ctcm 2009-11-13 20:47:00 -08:00
Makefile [S390] smsgiucv_app: deliver z/VM CP special messages (SMSG) as uevents 2010-03-08 12:26:28 +01:00
netiucv.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
qeth_core_main.c qeth: Use memdup_user when user data is immediately copied into the allocated region. 2010-07-23 12:36:25 -07:00
qeth_core_mpc.c qeth: support z/VM VSWITCH Port Isolation 2009-05-20 17:36:50 -07:00
qeth_core_mpc.h qeth: handle missing z/VM authorization of OSX 2010-06-23 13:16:37 -07:00
qeth_core_sys.c qeth: serialize sysfs-triggered device configurations 2010-07-23 12:36:23 -07:00
qeth_core.h qeth: avoid loop if ipa command response is missing 2010-07-23 12:36:23 -07:00
qeth_l2_main.c qeth: avoid useless removal of multicast addresses 2010-07-23 12:36:25 -07:00
qeth_l3_main.c qeth: serialize sysfs-triggered device configurations 2010-07-23 12:36:23 -07:00
qeth_l3_sys.c qeth: IP address takeover flag setting 2010-07-23 12:36:22 -07:00
qeth_l3.h qeth: IP address takeover flag setting 2010-07-23 12:36:22 -07:00
smsgiucv_app.c [S390] cmm, smsgiucv_app: convert sender to uppercase 2010-08-09 18:12:54 +02:00
smsgiucv.c smsgiucv: guarantee single iucv connect in thaw 2010-06-23 13:16:32 -07:00
smsgiucv.h [S390] smsgiucv_app: deliver z/VM CP special messages (SMSG) as uevents 2010-03-08 12:26:28 +01:00