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.
Patch below & attached. +-DLS Signed-off-by: David L Stevens <[EMAIL PROTECTED]> --- linux-2.6.20.1/net/ipv6/anycast.c 2007-02-19 22:34:32.000000000 -0800 +++ linux-2.6.20.1T1/net/ipv6/anycast.c 2007-02-26 15:37:04.000000000 -0800 @@ -462,6 +462,7 @@ static inline struct ifacaddr6 *ac6_get_ break; } read_unlock_bh(&idev->lock); + in6_dev_put(idev); } return im; }
ac6.patch
Description: Binary data