summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2015-09-02 13:58:36 -0700
committerDavid S. Miller <davem@davemloft.net>2015-09-15 12:01:41 -0700
commitc36ba6603a1154ac617d023bbcc062a12afb258b (patch)
tree4ce0ed1e81dcc34125b19cdb7d4c6e431b1bf4bd /security
parentb7503e0cdb5dbec5d201aa69d8888c14679b5ae8 (diff)
downloadop-kernel-dev-c36ba6603a1154ac617d023bbcc062a12afb258b.zip
op-kernel-dev-c36ba6603a1154ac617d023bbcc062a12afb258b.tar.gz
net: Allow user to get table id from route lookup
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@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud