| To: | davem@xxxxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] [IPV6]: Fix a branch prediction |
| From: | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> |
| Date: | Sat, 16 Apr 2005 09:57:13 +0900 (JST) |
| Cc: | netdev@xxxxxxxxxxx, tgohad@xxxxxxxxxx, yoshfuji@xxxxxxxxxxxxx |
| Organization: | USAGI Project |
| Sender: | netdev-bounce@xxxxxxxxxxx |
From: Tushar Gohad <tgohad@xxxxxxxxxx>
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@xxxxxxxxxxxxxx>
===== net/ipv6/addrconf.c 1.135 vs edited =====
--- 1.135/net/ipv6/addrconf.c 2005-03-31 09:34:56 +09:00
+++ edited/net/ipv6/addrconf.c 2005-04-16 09:48:15 +09:00
@@ -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);
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
Homepage: http://www.yoshifuji.org/~hideaki/
GPG FP : 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: ACPI/HT or Packet Scheduler BUG?, Thomas Graf |
|---|---|
| Next by Date: | Re: ACPI/HT or Packet Scheduler BUG?, Herbert Xu |
| Previous by Thread: | Re: ACPI/HT or Packet Scheduler BUG?, jamal |
| Next by Thread: | (some persisting) troubles with neighbour cache code backport (even) in 2.4.30, Harald Welte |
| Indexes: | [Date] [Thread] [Top] [All Lists] |