netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] IPV6: Typo in address comparison
@ 2003-10-26 16:45 YOSHIFUJI Hideaki / 吉藤英明
  2003-10-27  7:50 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2003-10-26 16:45 UTC (permalink / raw)
  To: davem; +Cc: netdev, yoshfuji

Hello.

Typo found in the local address comparison among sockets.

===== net/ipv6/addrconf.c 1.71 vs edited =====
--- 1.71/net/ipv6/addrconf.c	Tue Oct 21 14:59:11 2003
+++ edited/net/ipv6/addrconf.c	Mon Oct 27 01:35:11 2003
@@ -992,7 +992,7 @@
 	    !ipv6_addr_cmp(&np->rcv_saddr,
 			   (sk2->sk_state != TCP_TIME_WAIT ?
 			    &inet6_sk(sk2)->rcv_saddr :
-			    &tcptw_sk(sk)->tw_v6_rcv_saddr)))
+			    &tcptw_sk(sk2)->tw_v6_rcv_saddr)))
 		return 1;
 
 	if (addr_type == IPV6_ADDR_MAPPED &&

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] IPV6: Typo in address comparison
  2003-10-26 16:45 [PATCH] IPV6: Typo in address comparison YOSHIFUJI Hideaki / 吉藤英明
@ 2003-10-27  7:50 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-10-27  7:50 UTC (permalink / raw)
  To: YOSHIFUJI Hideaki / _$B5HF#1QL@; +Cc: netdev, yoshfuji

On Mon, 27 Oct 2003 01:45:02 +0900 (JST)
YOSHIFUJI Hideaki / _$B5HF#1QL@ <yoshfuji@linux-ipv6.org> wrote:

> Hello.
> 
> Typo found in the local address comparison among sockets.

Oops, Arnaldo and I saw this the other week too, but the
fix for it got lost.

I applied your patch, thank you Yoshfuji.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-27  7:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-26 16:45 [PATCH] IPV6: Typo in address comparison YOSHIFUJI Hideaki / 吉藤英明
2003-10-27  7:50 ` David S. Miller

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).