lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50F4689F.9030806@linux-ipv6.org>
Date:	Tue, 15 Jan 2013 05:20:47 +0900
From:	YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
To:	Tom Herbert <therbert@...gle.com>
CC:	netdev@...r.kernel.org, davem@...emloft.net,
	netdev@...kandruth.co.uk, eric.dumazet@...il.com
Subject: Re: [PATCH 2/5] soreuseport: TCP/IPv4 implementation

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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ