From: Julian Anastasov Date: Wed, 22 Jul 2015 07:43:22 +0000 (+0300) Subject: ipv4: fib_select_default should match the prefix X-Git-Tag: omap-for-v4.3/fixes-merge-window~158^2~40^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18a912e9a832dcfc7db9e055c7e41701ff5f9e69;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed