Re: [PATCH net] ipv6: fix the check before getting the cookie in rt6_get_cookie

2019-06-06 Thread David Ahern
On 6/6/19 10:10 AM, Xin Long wrote: > On Thu, Jun 6, 2019 at 11:35 PM David Ahern wrote: >> >> On 6/2/19 5:10 AM, Xin Long wrote: >>> In Jianlin's testing, netperf was broken with 'Connection reset by peer', >>> as the cookie check failed in rt6_check() and ip6_dst_check() always >>> returned NULL

Re: [PATCH net] ipv6: fix the check before getting the cookie in rt6_get_cookie

2019-06-06 Thread Xin Long
On Thu, Jun 6, 2019 at 11:35 PM David Ahern wrote: > > On 6/2/19 5:10 AM, Xin Long wrote: > > In Jianlin's testing, netperf was broken with 'Connection reset by peer', > > as the cookie check failed in rt6_check() and ip6_dst_check() always > > returned NULL. > > Any particular test or setup that

Re: [PATCH net] ipv6: fix the check before getting the cookie in rt6_get_cookie

2019-06-06 Thread David Ahern
On 6/2/19 5:10 AM, Xin Long wrote: > In Jianlin's testing, netperf was broken with 'Connection reset by peer', > as the cookie check failed in rt6_check() and ip6_dst_check() always > returned NULL. Any particular test or setup that is causing the reset? I do not see that problem in general.

Re: [PATCH net] ipv6: fix the check before getting the cookie in rt6_get_cookie

2019-06-05 Thread David Miller
From: Xin Long Date: Sun, 2 Jun 2019 19:10:46 +0800 > In Jianlin's testing, netperf was broken with 'Connection reset by peer', > as the cookie check failed in rt6_check() and ip6_dst_check() always > returned NULL. > > It's caused by Commit 93531c674315 ("net/ipv6: separate handling of FIB > e

[PATCH net] ipv6: fix the check before getting the cookie in rt6_get_cookie

2019-06-02 Thread Xin Long
In Jianlin's testing, netperf was broken with 'Connection reset by peer', as the cookie check failed in rt6_check() and ip6_dst_check() always returned NULL. It's caused by Commit 93531c674315 ("net/ipv6: separate handling of FIB entries from dst based routes"), where the cookie can be got only wh