]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ipv4: pass current value of rt_genid into rt_hash
authorDenis V. Lunev <den@openvz.org>
Sun, 6 Jul 2008 02:04:09 +0000 (19:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Jul 2008 02:04:09 +0000 (19:04 -0700)
commitb00180defdeeac8e07e3dc02e53e7395d42bbd19
tree3e3343c81ae0a09b8baa9e2d3b42c9c73d16ad6d
parent86c657f6b5bbf2f3ec2213eca528998134a9b344
ipv4: pass current value of rt_genid into rt_hash

Basically, there is no difference to atomic_read internally or pass it as
a parameter as rt_hash is inline.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c