[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dac5b0ed-fa7e-1723-0067-6c607825ec31@gmail.com>
Date: Tue, 30 Apr 2019 12:00:46 -0600
From: David Ahern <dsahern@...il.com>
To: Hangbin Liu <liuhangbin@...il.com>,
David Ahern <dsahern@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH net] selftests: fib_rule_tests: Fix icmp proto with ipv6
On 4/29/19 8:37 PM, Hangbin Liu wrote:
> An other issue is The IPv4 rule 'from iif' check test failed while IPv6
> passed. I haven't found out the reason yet.
>
> # ip -netns testns rule add from 192.51.100.3 iif dummy0 table 100
> # ip -netns testns route get 192.51.100.2 from 192.51.100.3 iif dummy0
> RTNETLINK answers: No route to host
>
> TEST: rule4 check: from 192.51.100.3 iif dummy0 [FAIL]
>
> # ip -netns testns -6 rule add from 2001:db8:1::3 iif dummy0 table 100
> # ip -netns testns -6 route get 2001:db8:1::2 from 2001:db8:1::3 iif dummy0
> 2001:db8:1::2 via 2001:db8:1::2 dev dummy0 table 100 metric 1024 iif dummy0 pref medium
>
> TEST: rule6 check: from 2001:db8:1::3 iif dummy0 [ OK ]
use perf to look at the fib lookup parameters:
perf record -e fib:* -- ip -netns testns route get 192.51.100.2 from
192.51.100.3 iif dummy0
perf script
Powered by blists - more mailing lists