diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/anycast.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/anycast.c b/net/ipv6/anycast.c index 9b81264eb78..2f49578e52a 100644 --- a/net/ipv6/anycast.c +++ b/net/ipv6/anycast.c @@ -66,6 +66,7 @@ ip6_onlink(struct in6_addr *addr, struct net_device *dev) break; } read_unlock_bh(&idev->lock); + in6_dev_put(idev); } rcu_read_unlock(); return onlink; |