[NET]: Make helper to get dst entry and "use" it
authorPavel Emelyanov <xemul@openvz.org>
Sun, 11 Nov 2007 05:28:34 +0000 (21:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2007 05:28:34 +0000 (21:28 -0800)
commit03f49f345749abc08bc84b835433c94eea6e972b
tree8fad6fef152adaa473e2ab3a824cb04fe98b3bf1
parentb1667609cd9a98ce32559e06f36fca54c775a51f
[NET]: Make helper to get dst entry and "use" it

There are many places that get the dst entry, increase the
__use counter and set the "lastuse" time stamp.

Make a helper for this.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h
net/decnet/dn_route.c
net/ipv4/route.c
net/ipv6/route.c