Skip to contentSkip to conversation

IPV6: Typo in address comparison

PATCH Applied YOSHIFUJI Hideaki / 吉藤英明 2 participants 2 messages Oct 26, 2003 – Oct 27, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IPV6: Typo in address comparison

Hello.

Typo found in the local address comparison among sockets.

===== net/ipv6/addrconf.c 1.71 vs edited =====

net/ipv6/addrconf.c +1 -1
@@ -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 &&
Signature · 2 lines
Hideaki YOSHIFUJI @ USAGI Project <[email protected]>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
#1 lore raw
Quoted 3 lines · On Mon, 27 Oct 2003 01:45:02 +0900 (JST) YOSHIFUJI Hideaki / _$B5HF#1QL@…

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.