diff options
Diffstat (limited to 'net/ipv4/fib_trie.c')
-rw-r--r-- | net/ipv4/fib_trie.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index ec0ae490f0b6..9070d11058e5 100644 --- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c | |||
@@ -1347,8 +1347,7 @@ static int check_leaf(struct trie *t, struct leaf *l, | |||
1347 | if (l->key != (key & ntohl(mask))) | 1347 | if (l->key != (key & ntohl(mask))) |
1348 | continue; | 1348 | continue; |
1349 | 1349 | ||
1350 | err = fib_semantic_match(&li->falh, flp, res, | 1350 | err = fib_semantic_match(&li->falh, flp, res, plen); |
1351 | htonl(l->key), mask, plen); | ||
1352 | 1351 | ||
1353 | #ifdef CONFIG_IP_FIB_TRIE_STATS | 1352 | #ifdef CONFIG_IP_FIB_TRIE_STATS |
1354 | if (err <= 0) | 1353 | if (err <= 0) |