]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Fix anycast procfs device leak
authorDavid Stevens <dlstevens@us.ibm.com>
Tue, 27 Feb 2007 19:14:00 +0000 (11:14 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:27 +0000 (10:50 -0800)
commit9e44f708876955f49190c04ce83b9dcb712ce3ff
tree24a45ed44007452dbe2df460e10d5a96ec062f6b
parent74ba050ddee2ade5fcdad88433c26ffea7034b13
Fix anycast procfs device leak

[IPV6]: /proc/net/anycast6 unbalanced inet6_dev refcnt

From: David Stevens <dlstevens@us.ibm.com>

Reading /proc/net/anycast6 when there is no anycast address
on an interface results in an ever-increasing inet6_dev reference
count, as well as a reference to the netdevice you can't get rid of.

From: David Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv6/anycast.c