[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <821d665e-2d4c-9cbb-5ea6-3443ab393426@gmail.com>
Date: Sun, 24 Mar 2019 11:36:22 -0600
From: David Ahern <dsahern@...il.com>
To: emersonbernier@...anota.com
Cc: Netdev <netdev@...r.kernel.org>,
Stephen <stephen@...workplumber.org>,
Kuznet <kuznet@....inr.ac.ru>, Jason <jason@...c4.com>,
Davem <davem@...emloft.net>
Subject: Re: [BUG][iproute2][5.0] ip route show table default: "Error: ipv4:
FIB table does not exist."
On 3/24/19 11:34 AM, emersonbernier@...anota.com wrote:
> Mar 24, 2019, 5:20 PM by dsahern@...il.com:
>
>> On 3/24/19 11:02 AM, > emersonbernier@...anota.com <mailto:emersonbernier@...anota.com>> wrote:
>>
>>> Ok but previous versions of iproute2 didn't treat this as error and didn't exited with non-zero status. Is non existing default route a system error which needs fixing?
>>>
>>
>> The kernel is returning that error, not iproute2.
>>
> I mean that with older versions of iproute2 this error isn't shown for userspace.
>> It is the default *table*, not a default route.
>>
> True. Still the question remains: is non existing default table a system error which needs fixing?
>
no, there is no system error. The kernel is telling iproute2 the
requested table does not exist. Arguably iproute2 can catch a request to
dump the 'default' table and not throw an error.
Powered by blists - more mailing lists