android_kernel_xiaomi_sm8350/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
ctcm_dbug.h
ctcm_fsms.c ctcm: rename READ/WRITE defines to avoid redefinitions 2010-08-12 16:04:23 -07:00
ctcm_fsms.h
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
ctcm_sysfs.c ctcm: rename READ/WRITE defines to avoid redefinitions 2010-08-12 16:04:23 -07:00
fsm.c
fsm.h
Kconfig
lcs.c
lcs.h
Makefile
netiucv.c
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_core_mpc.h
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_l3.h
smsgiucv_app.c [S390] cmm, smsgiucv_app: convert sender to uppercase 2010-08-09 18:12:54 +02:00
smsgiucv.c
smsgiucv.h