From: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
To: Tom Herbert <therbert@google.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net,
netdev@markandruth.co.uk, eric.dumazet@gmail.com
Subject: Re: [PATCH 2/5] soreuseport: TCP/IPv4 implementation
Date: Tue, 15 Jan 2013 05:20:47 +0900 [thread overview]
Message-ID: <50F4689F.9030806@linux-ipv6.org> (raw)
In-Reply-To: <alpine.DEB.2.00.1301141140330.3472@pokey.mtv.corp.google.com>
Tom Herbert wrote:
> static inline struct sock *inet_lookup_listener(struct net *net,
> struct inet_hashinfo *hashinfo,
> + __be32 saddr, __be16 sport,
> __be32 daddr, __be16 dport, int dif)
> {
> - return __inet_lookup_listener(net, hashinfo, daddr, ntohs(dport), dif);
> + return __inet_lookup_listener(net, hashinfo, saddr, sport,
> + daddr, ntohs(dport), dif);
> }
>
> /* Socket demux engine toys. */
> @@ -358,7 +364,8 @@ static inline struct sock *__inet_lookup(struct net *net,
> struct sock *sk = __inet_lookup_established(net, hashinfo,
> saddr, sport, daddr, hnum, dif);
>
> - return sk ? : __inet_lookup_listener(net, hashinfo, daddr, hnum, dif);
> + return sk ? : __inet_lookup_listener(net, hashinfo, saddr, sport,
> + daddr, hnum, dif);
> }
>
Please fix indent.
--yoshfuji
next prev parent reply other threads:[~2013-01-14 20:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 20:00 [PATCH 2/5] soreuseport: TCP/IPv4 implementation Tom Herbert
2013-01-14 20:20 ` YOSHIFUJI Hideaki [this message]
2013-01-16 21:09 ` Vijay Subramanian
2013-01-16 21:10 ` David Miller
2013-01-16 21:30 ` Tom Herbert
2013-01-16 22:14 ` Vijay Subramanian
-- strict thread matches above, loose matches on Subject: below --
2013-01-22 19:50 Tom Herbert
2013-01-25 8:08 ` Steffen Klassert
2013-01-26 3:40 ` Tom Herbert
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=50F4689F.9030806@linux-ipv6.org \
--to=yoshfuji@linux-ipv6.org \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@markandruth.co.uk \
--cc=netdev@vger.kernel.org \
--cc=therbert@google.com \
/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;
as well as URLs for NNTP newsgroup(s).