Re: [PATCH net-next 1/3] ipv6: fix route cache dump

2017-10-17 Thread Paolo Abeni
Hi, On Tue, 2017-10-17 at 11:41 -0700, Eric Dumazet wrote: > On Tue, Oct 17, 2017 at 11:26 AM, Wei Wang wrote: > > On Tue, Oct 17, 2017 at 10:40 AM, Paolo Abeni wrote: > > > After the commit 2b760fcf5cfb ("ipv6: hook up exception table to > > > store dst cache"), entries in the routing cache are

Re: [PATCH net-next 1/3] ipv6: fix route cache dump

2017-10-17 Thread Eric Dumazet
On Tue, Oct 17, 2017 at 11:26 AM, Wei Wang wrote: > On Tue, Oct 17, 2017 at 10:40 AM, Paolo Abeni wrote: >> After the commit 2b760fcf5cfb ("ipv6: hook up exception table to >> store dst cache"), entries in the routing cache are not shown by: >> >> ip route show cache > > Hi Paolo, > > Thanks for

Re: [PATCH net-next 1/3] ipv6: fix route cache dump

2017-10-17 Thread Wei Wang
On Tue, Oct 17, 2017 at 10:40 AM, Paolo Abeni wrote: > After the commit 2b760fcf5cfb ("ipv6: hook up exception table to > store dst cache"), entries in the routing cache are not shown by: > > ip route show cache > > because the per route exception table containing such routes is not > traversed by

[PATCH net-next 1/3] ipv6: fix route cache dump

2017-10-17 Thread Paolo Abeni
After the commit 2b760fcf5cfb ("ipv6: hook up exception table to store dst cache"), entries in the routing cache are not shown by: ip route show cache because the per route exception table containing such routes is not traversed by rt6_dump_route(). Fix it by explicitly dumping all routes present