linux/drivers/staging/otus
Vasiliy Kulikov 2166abebc5 staging: otus: 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: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-30 04:14:08 -07:00
..
80211core staging: otus: fix compile warning and some style issues 2010-08-31 11:52:30 -07:00
hal Staging: otus: use ARRAY_SIZE 2010-07-08 13:30:43 -07:00
Kconfig Staging: otus: Add select WEXT_PRIV to Kconfig to prevent build failure 2010-03-03 16:42:40 -08:00
Makefile Staging: add otus Atheros wireless network driver 2009-01-06 13:52:10 -08:00
TODO Staging: otus: TODO: Don't bother, for documentation purposes only 2010-06-18 16:40:08 -07:00
apdbg.c staging: otus: remove unused methods 2010-07-22 14:37:44 -07:00
athr_common.h Staging: otus : checkpatch.pl cleanup for header files 2009-12-11 12:23:11 -08:00
ioctl.c staging: otus: '&pointer[0]' to 'pointer' fix 2010-09-20 16:10:56 -07:00
oal_dt.h Staging: otus : checkpatch.pl cleanup for header files 2009-12-11 12:23:11 -08:00
oal_marc.h Staging: otus : checkpatch.pl cleanup for header files 2009-12-11 12:23:11 -08:00
usbdrv.c staging: otus: use free_netdev(netdev) instead of kfree() 2010-09-30 04:14:08 -07:00
usbdrv.h staging/otus: include slab.h from usbdrv.h 2010-04-05 11:23:16 +09:00
wrap_buf.c Staging: otus : checkpatch.pl cleanup for some more .c files 2009-12-11 12:23:11 -08:00
wrap_dbg.c Staging: otus : checkpatch.pl cleanup for .c files 2009-12-11 12:23:11 -08:00
wrap_ev.c staging: otus: use '%pM' format to print MAC address 2010-09-16 12:26:12 -07:00
wrap_mem.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
wrap_mis.c Staging: otus : checkpatch.pl cleanup for some more .c files 2009-12-11 12:23:11 -08:00
wrap_pkt.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
wrap_sec.c Staging: otus: wrap_sec: remove casts from void* 2010-07-08 13:46:59 -07:00
wrap_usb.c staging: otus: check kmalloc() return value 2010-08-02 18:23:44 -07:00
wwrap.c Staging: otus: removes global variable initialization to 0 in wwrap.c 2010-09-07 19:39:15 -07:00
zdcompat.h tree-wide: fix misspelling of "definition" in comments 2009-12-04 23:41:47 +01:00
zdusb.c Staging: otus: fix style issues in zdusb.c 2010-06-18 16:40:08 -07:00
zdusb.h Staging: otus : checkpatch.pl cleanup for header files 2009-12-11 12:23:11 -08:00