[IPV4]: rt_cache_get_next should take rt_genid into account.
authorDenis V. Lunev <den@openvz.org>
Fri, 29 Feb 2008 04:50:33 +0000 (20:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Feb 2008 04:50:33 +0000 (20:50 -0800)
commit642d6318119af60ac019524bd4edcfbd19d9d211
tree7de60bd02fd71902133ce6920afeed496d897782
parent317805b8f875ca1bd43d594c0a210e24fab7d177
[IPV4]: rt_cache_get_next should take rt_genid into account.

In the other case /proc/net/rt_cache will look inconsistent in respect to
genid.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c