ipv4: Restart rt_intern_hash after emergency rebuild (v2)
authorPavel Emelyanov <xemul@openvz.org>
Wed, 24 Mar 2010 21:51:22 +0000 (21:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Mar 2010 03:57:35 +0000 (20:57 -0700)
The the rebuild changes the genid which in turn is used at
the hash calculation. Thus if we don't restart and go on with
inserting the rt will happen in wrong chain.

(Fixed Neil's comment about the index passed into the rt_intern_hash)

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Reviewed-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found