tree 78d8e11eca4d84b91f5be4a28ad81ba523f9dc65
parent c4d541106bc5d0a2134aaf9e8735eee3c70b0db2
author YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Wed, 20 Apr 2005 12:27:09 -0700
committer David S. Miller <[EMAIL PROTECTED]> Wed, 20 Apr 2005 12:27:09 -0700

[IPV6]: Fix a branch prediction

From: Tushar Gohad <[EMAIL PROTECTED]>

Signed-off-by: Hideaki YOSHIFUJI <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

 ipv6/addrconf.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: net/ipv6/addrconf.c
===================================================================
--- bff220245285154b45094d89e8b75f94d61d502b/net/ipv6/addrconf.c  (mode:100644 
sha1:5ffde14ddc09547085f02646e4399053429f3cbd)
+++ 78d8e11eca4d84b91f5be4a28ad81ba523f9dc65/net/ipv6/addrconf.c  (mode:100644 
sha1:7196ac2f2d1688d410e2f51973f90c0118549c63)
@@ -571,7 +571,7 @@
 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);
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to