diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2005-04-19 22:27:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-04-19 22:27:09 -0700 |
commit | fd92833a52b972aafacced959f4a3f7541936a9b (patch) | |
tree | 78d8e11eca4d84b91f5be4a28ad81ba523f9dc65 /net/ipv6/addrconf.c | |
parent | c4d541106bc5d0a2134aaf9e8735eee3c70b0db2 (diff) |
[IPV6]: Fix a branch prediction
From: Tushar Gohad <tgohad@mvista.com>
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 2 |
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, 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); |