Revert "ipv4: Fix incorrect route flushing when source address is deleted"

This reverts commit 2537b637ea that
deleted the whole fib_tests.sh by mistake and caused fib_tests failure
in kselftests run.

Signed-off-by: Shaoying Xu <shaoyi@amazon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Shaoying Xu 2023-02-07 18:28:19 +00:00 committed by Greg Kroah-Hartman
parent 85eda80883
commit 04a331c9dd
2 changed files with 1727 additions and 1 deletions

View File

@ -421,7 +421,6 @@ static struct fib_info *fib_find_info(struct fib_info *nfi)
nfi->fib_prefsrc == fi->fib_prefsrc &&
nfi->fib_priority == fi->fib_priority &&
nfi->fib_type == fi->fib_type &&
nfi->fib_tb_id == fi->fib_tb_id &&
memcmp(nfi->fib_metrics, fi->fib_metrics,
sizeof(u32) * RTAX_MAX) == 0 &&
!((nfi->fib_flags ^ fi->fib_flags) & ~RTNH_COMPARE_MASK) &&

File diff suppressed because it is too large Load Diff