[PATCH] IPV{4,6}: Fix one more inappropriate use of inet6_sk()->ipv6only

STALE8390d

2 messages, 2 authors, 2003-11-02 · open the first message on its own page

[PATCH] IPV{4,6}: Fix one more inappropriate use of inet6_sk()->ipv6only

From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2003-11-01 11:01:32

Hello. 

Sorry, I forgot to fix this one...

===== net/ipv4/tcp_ipv4.c 1.75 vs edited =====
--- 1.75/net/ipv4/tcp_ipv4.c	Tue Oct 28 20:10:47 2003
+++ edited/net/ipv4/tcp_ipv4.c	Sat Nov  1 19:36:45 2003
@@ -187,7 +187,7 @@
 
 	sk_for_each_bound(sk2, node, &tb->owners) {
 		if (sk != sk2 &&
-		    !ipv6_only_sock(sk2) &&
+		    !tcp_v6_ipv6only(sk2) &&
 		    (!sk->sk_bound_dev_if ||
 		     !sk2->sk_bound_dev_if ||
 		     sk->sk_bound_dev_if == sk2->sk_bound_dev_if)) {
-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

Re: [PATCH] IPV{4,6}: Fix one more inappropriate use of inet6_sk()->ipv6only

From: David S. Miller <hidden>
Date: 2003-11-02 07:09:21

Applied, thanks Yoshfuji.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help