linux_old1/drivers/s390
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
..
block [S390] dasd: fix format string types 2010-08-13 10:06:54 +02:00
char Input: sysrq - drop tty argument form handle_sysrq() 2010-08-21 00:34:45 -07:00
cio [S390] cio: use all available paths for some internal I/O 2010-08-09 18:12:54 +02:00
crypto [S390] avoid default_llseek in s390 drivers 2010-05-17 10:00:16 +02:00
kvm 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
net s390: use free_netdev(netdev) instead of kfree() 2010-09-26 18:56:06 -07:00
scsi [SCSI] zfcp: Trigger logging in the FCP channel on qdio error conditions 2010-07-28 09:48:58 -05:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00