]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/route.c
[IPV4]: Fix garbage collection of multipath route entries
[linux-2.6-omap-h63xx.git] / net / ipv4 / route.c
index d82c242ea7049b7c84aaf03f71ae0dbc38f86c0c..fca5fe0cf94a397fe957f26a39ebd82054f9582c 100644 (file)
@@ -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;