From: Hua Zhong <hzhong@gmail.com>
To: davem@davemloft.net, netdev@vger.kernel.org
Subject: FIXED Re: [PATCH] remove likely in ip_rcv_finish()
Date: Tue, 25 Apr 2006 02:20:16 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0604250218470.4491@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.64.0604250204470.4481@localhost.localdomain>
Horrible typo! I really should have gone to sleep now.
Correct patch attached.
diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c
index 18d7fad..c9026db 100644
--- a/net/ipv4/ip_input.c
+++ b/net/ipv4/ip_input.c
@@ -337,7 +337,7 @@ static inline int ip_rcv_finish(struct s
* Initialise the virtual path cache for the packet. It describes
* how the packet travels inside Linux networking.
*/
- if (likely(skb->dst == NULL)) {
+ if (skb->dst == NULL) {
int err = ip_route_input(skb, iph->daddr, iph->saddr, iph->tos,
skb->dev);
if (unlikely(err)) {
prev parent reply other threads:[~2006-04-25 9:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-25 9:10 [PATCH] remove likely in ip_rcv_finish() Hua Zhong
2006-04-25 9:20 ` Hua Zhong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0604250218470.4491@localhost.localdomain \
--to=hzhong@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox