[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150923161437.7e055fc2@urahara>
Date: Wed, 23 Sep 2015 16:14:37 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: David Ahern <dsa@...ulusnetworks.com>
Cc: netdev@...r.kernel.org
Subject: Re: [iproute2 net-next] ip route: Add RTM_F_LOOKUP_TABLE flag and
show table id
On Mon, 21 Sep 2015 11:19:48 -0700
David Ahern <dsa@...ulusnetworks.com> wrote:
> Currently 'ip route get' does not show the table the lookup result comes
> from and prior to kernel commit c36ba6603a11 the response from the kernel
> was hardcoded to the main table. From the discussion this appears to be
> a leftover from the route cache where the cached entry lost the table id
> and so the result was hardcoded to main table.
>
> c36ba6603a11 added the RTM_F_LOOKUP_TABLE flag to maintain that behavior
> but to allow new tools to ask for the actual table id for the lookup.
> This patch adds that flag to ip route get request and if the result is
> not the main table shows the table id.
>
> Signed-off-by: David Ahern <dsa@...ulusnetworks.com>
Applied, the compatibility concerns seem to be abated.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists