net: Set rtm_table to RT_TABLE_COMPAT for ipv6 for tables > 255
authorKalash Nainwal <kalash@arista.com>
Thu, 21 Feb 2019 00:23:04 +0000 (16:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 23:21:27 +0000 (15:21 -0800)
commit97f0082a0592212fc15d4680f5a4d80f79a1687c
treeedcedfa17d4e661a41ab5af83177201b16a9c623
parenta11f5756a336567d361124bda1456e88e2a516e4
net: Set rtm_table to RT_TABLE_COMPAT for ipv6 for tables > 255

Set rtm_table to RT_TABLE_COMPAT for ipv6 for tables > 255 to
keep legacy software happy. This is similar to what was done for
ipv4 in commit 709772e6e065 ("net: Fix routing tables with
id > 255 for legacy software").

Signed-off-by: Kalash Nainwal <kalash@arista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c