aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 5ffde14ddc0..7196ac2f2d1 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -571,7 +571,7 @@ ipv6_add_addr(struct inet6_dev *idev, const struct in6_addr *addr, int pfxlen,
571out2: 571out2:
572 read_unlock_bh(&addrconf_lock); 572 read_unlock_bh(&addrconf_lock);
573 573
574 if (unlikely(err == 0)) 574 if (likely(err == 0))
575 notifier_call_chain(&inet6addr_chain, NETDEV_UP, ifa); 575 notifier_call_chain(&inet6addr_chain, NETDEV_UP, ifa);
576 else { 576 else {
577 kfree(ifa); 577 kfree(ifa);