projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1267cd7
)
[IPV6]: /proc/net/anycast6 unbalanced inet6_dev refcnt
author
David Stevens
<dlstevens@us.ibm.com>
Tue, 27 Feb 2007 00:28:56 +0000
(16:28 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 28 Feb 2007 17:42:10 +0000
(09:42 -0800)
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.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/anycast.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/anycast.c
b/net/ipv6/anycast.c
index e5ef5979ade417e32d2bc11a41979f7fc0056758..09117d63256f6d92e4b5deebfd8bf6ccdb5230cf 100644
(file)
--- a/
net/ipv6/anycast.c
+++ b/
net/ipv6/anycast.c
@@
-461,6
+461,7
@@
static inline struct ifacaddr6 *ac6_get_first(struct seq_file *seq)
break;
}
read_unlock_bh(&idev->lock);
+ in6_dev_put(idev);
}
return im;
}