summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid1.c
diff options
context:
space:
mode:
authorVasiliy Kulikov <segooon@gmail.com>2010-09-27 03:56:06 +0200
committerDavid S. Miller <davem@davemloft.net>2010-09-27 03:56:06 +0200
commitbc68580d41b131396054a1a04a7df4948555ed97 (patch)
treeb2f78691199167967e694dccec273afa29ba0a0c /drivers/md/dm-raid1.c
parentsgiseeq: use free_netdev(netdev) instead of kfree() (diff)
downloadlinux-bc68580d41b131396054a1a04a7df4948555ed97.tar.xz
linux-bc68580d41b131396054a1a04a7df4948555ed97.zip
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>
Diffstat (limited to 'drivers/md/dm-raid1.c')
0 files changed, 0 insertions, 0 deletions