summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2015-07-22 09:43:22 +0200
committerDavid S. Miller <davem@davemloft.net>2015-07-25 07:46:09 +0200
commit18a912e9a832dcfc7db9e055c7e41701ff5f9e69 (patch)
treed6775aeabe8e6427fb257a032eb4452cfe0862dd /lib
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-18a912e9a832dcfc7db9e055c7e41701ff5f9e69.tar.xz
linux-18a912e9a832dcfc7db9e055c7e41701ff5f9e69.zip
ipv4: fib_select_default should match the prefix
fib_trie starting from 4.1 can link fib aliases from different prefixes in same list. Make sure the alternative gateways are in same table and for same prefix (0) by checking tb_id and fa_slen. Fixes: 79e5ad2ceb00 ("fib_trie: Remove leaf_info") Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions