[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150915.120207.715276225859908652.davem@davemloft.net>
Date: Tue, 15 Sep 2015 12:02:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dsa@...ulusnetworks.com
Cc: netdev@...r.kernel.org, tgraf@...g.ch
Subject: Re: [PATCH net-next 3/3 v2] net: Allow user to get table id from
route lookup
From: David Ahern <dsa@...ulusnetworks.com>
Date: Wed, 2 Sep 2015 13:58:36 -0700
> rt_fill_info which is called for 'route get' requests hardcodes the
> table id as RT_TABLE_MAIN which is not correct when multiple tables
> are used. Use the newly added table id in the rtable to send back
> the correct table similar to what is done for IPv6.
>
> To maintain current ABI a new request flag, RTM_F_LOOKUP_TABLE, is
> added to indicate the actual table is wanted versus the hardcoded
> response.
>
> Signed-off-by: David Ahern <dsa@...ulusnetworks.com>
> ---
> v2
> - use a new request flag to indicate the real table id is wanted
> (suggested by Thomas)
Applied.
--
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