Hi, In article <[EMAIL PROTECTED]> (at Thu, 17 Aug 2006 10:56:40 -0400 (EDT)), James Morris <[EMAIL PROTECTED]> says:
> On Thu, 17 Aug 2006, [EMAIL PROTECTED] wrote: > > > - if (inet2->num == snum && > > - sk2 != sk && > > - !ipv6_only_sock(sk2) && > > - (!sk2->sk_bound_dev_if || > > - !sk->sk_bound_dev_if || > > - sk2->sk_bound_dev_if == sk->sk_bound_dev_if) && > > > > + sk_for_each(sk2, node, head) > > + if (inet_sk(sk2)->num == snum && > > + sk2 != sk && > > + (!sk2->sk_reuse || !sk->sk_reuse) && > > + (!sk2->sk_bound_dev_if || !sk->sk_bound_dev_if > > + || sk2->sk_bound_dev_if == sk->sk_bound_dev_if) && > > > Doesn't this change the behavior for IPV6_V6ONLY sockets ? It is tested in ipv4_rcv_saddr_equal() (called vi saddr_cmp), isn't it? --yoshfuji - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html