lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 2 May 2015 20:38:01 -0700
From:	Martin KaFai Lau <kafai@...com>
To:	Hajime Tazaki <tazaki@....wide.ad.jp>
CC:	<netdev@...r.kernel.org>, <hannes@...essinduktion.org>,
	<steffen.klassert@...unet.com>, <davem@...emloft.net>,
	<yangyingliang@...wei.com>, <shengyong1@...wei.com>,
	<Kernel-team@...com>
Subject: Re: [PATCH net-next 3/5] ipv6: Stop /128 route from disappearing
 after pmtu update

On Sun, May 03, 2015 at 09:19:47AM +0900, Hajime Tazaki wrote:
> - 'ip -6 r show' at the ping6 sender
> 2001:1::/64 dev sim0  proto kernel  metric 256 
> fe80::/64 dev sim0  proto kernel  metric 256 
> 
> # the results of ip command on receiver side are almost
>   similar.
> 
> I found that the test uses non-ARP interface between nodes:
> if I changed the interface to 'non-NOARP' NIC, the issue has
> gone away without the revert.
I have given a little more thoughts.  With the below partial patch
ruled out and together with a /64 route in your test,
I failed to see how another line change could have broken.

Can you share some more details on your test and
can you reproduce it with some basic iproute2 commands?

--Martin


> 
> I'm using the following scenario: just FYI.
> 
> https://gist.github.com/thehajime/26be8606ddbb924f357c
> 
> > Also, can you try the following change which is a partial revert.  If ping goes
> > through again, can you capture the 'ip -6 show' on both sides quickly after the
> > test.
> > 
> > Thanks,
> > --Martin
> > 
> > diff --git i/net/ipv6/route.c w/net/ipv6/route.c
> > index 3522711..60212d4 100644
> > --- i/net/ipv6/route.c
> > +++ w/net/ipv6/route.c
> > @@ -1124,7 +1124,7 @@ static void ip6_rt_update_pmtu(struct dst_entry *dst, struct sock *sk,
> >  	struct rt6_info *rt6 = (struct rt6_info *)dst;
> > 
> >  	dst_confirm(dst);
> > -	if (mtu < dst_mtu(dst) && (rt6->rt6i_flags & RTF_CACHE)) {
> > +	if (mtu < dst_mtu(dst) && rt6->rt6i_dst.plen == 128) {
> >  		struct net *net = dev_net(dst->dev);
> > 
> >  		rt6->rt6i_flags |= RTF_MODIFIED;
> 
> this partial revert didn't change my situation.
> 
> 
> -- Hajime
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists