netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] IPV{4,6}: Fix one more inappropriate use of inet6_sk()->ipv6only
@ 2003-11-01 11:01 YOSHIFUJI Hideaki / 吉藤英明
  2003-11-02  7:09 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2003-11-01 11:01 UTC (permalink / raw)
  To: davem; +Cc: netdev

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

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

end of thread, other threads:[~2003-11-02  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-01 11:01 [PATCH] IPV{4,6}: Fix one more inappropriate use of inet6_sk()->ipv6only YOSHIFUJI Hideaki / 吉藤英明
2003-11-02  7:09 ` 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).