[IPV6]: Fix a branch prediction
[linux-2.6.git] / net / ipv6 / addrconf.c
index 5ffde14..7196ac2 100644 (file)
@@ -571,7 +571,7 @@ ipv6_add_addr(struct inet6_dev *idev, const struct in6_addr *addr, int pfxlen,
 out2:
        read_unlock_bh(&addrconf_lock);
 
-       if (unlikely(err == 0))
+       if (likely(err == 0))
                notifier_call_chain(&inet6addr_chain, NETDEV_UP, ifa);
        else {
                kfree(ifa);