[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5ab5897d-bafe-d297-91da-07bc32ce6d6e@cumulusnetworks.com>
Date: Wed, 1 Mar 2017 16:07:38 -0800
From: David Ahern <dsa@...ulusnetworks.com>
To: Martin KaFai Lau <kafai@...com>,
Cong Wang <xiyou.wangcong@...il.com>
Cc: netdev@...r.kernel.org, andreyknvl@...gle.com,
Eric Dumazet <eric.dumazet@...il.com>
Subject: Re: [Patch net v3] ipv6: check for ip6_null_entry in
__ip6_del_rt_siblings()
On 3/1/17 3:16 PM, Martin KaFai Lau wrote:
> [ An unrelated topic. I wonder ip -6 r del xyz::/0 would delete
> the gateway route...]
a very related question ...
ip -6 r del x::/0 comes down to the kernel as delete '::/0' (plen is 0,
so cfg->fc_dst is 0). It ends up on the null_entry from fib6_locate b/c
of the 0 prefix length, so it is another variant of 'ip -6 ro del ::/0'
Powered by blists - more mailing lists