From: David Ahern <d...@cumulusnetworks.com> Date: Thu, 26 Jan 2017 13:54:08 -0800
> Dave: per last email you suggested putting this in fib6_dump_node, but > fib6_dump_node does not have knowledge of the network namespace > because of the way the fib_walker works. I could put > struct rt6_rtnl_dump_arg *arg = (struct rt6_rtnl_dump_arg *) w->args; > into fib6_dump_node to get the net pointer from it but did not > want to duplicate the typecast. Ok, if you can't see the network namespace in fib6_dump_node() you can't do the test there. I'll apply this, thanks.