diff --git a/net/ipv4/route.c b/net/ipv4/route.c index d82c242ea7049b7c84aaf03f71ae0dbc38f86c0c..fca5fe0cf94a397fe957f26a39ebd82054f9582c 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -835,7 +835,7 @@ static int rt_garbage_collect(void) int r; rthp = rt_remove_balanced_route( - &rt_hash_table[i].chain, + &rt_hash_table[k].chain, rth, &r); goal -= r;