diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2017-01-12 02:42:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-04 11:45:08 +0300 |
commit | 40e7c725ab0f135aab0d969d9237426b55a14641 (patch) | |
tree | cf58c241fe2e3cedc2dc4acf51df1e84df49b032 /drivers/ata/ahci.c | |
parent | 2e84b8ce6fc3228e0589e6f1215af99613963f0d (diff) | |
download | linux-40e7c725ab0f135aab0d969d9237426b55a14641.tar.xz |
net: ipv4: fix table id in getroute response
[ Upstream commit 8a430ed50bb1b19ca14a46661f3b1b35f2fb5c39 ]
rtm_table is an 8-bit field while table ids are allowed up to u32. Commit
709772e6e065 ("net: Fix routing tables with id > 255 for legacy software")
added the preference to set rtm_table in dumps to RT_TABLE_COMPAT if the
table id is > 255. The table id returned on get route requests should do
the same.
Fixes: c36ba6603a11 ("net: Allow user to get table id from route lookup")
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions