[RTNETLINK]: Add rtnl_put_cacheinfo() to unify some code
commite3703b3de1f049b38733ba520e5038f23063068e
authorThomas Graf <tgraf@suug.ch>
Mon, 27 Nov 2006 17:27:07 +0000 (27 09:27 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:30:44 +0000 (2 21:30 -0800)
tree3566516bc8b87c8c8d78b0c3287761c8e2f49a2b
parent4e9b82693542003b028c8494e9e3c49615b91ce7
[RTNETLINK]: Add rtnl_put_cacheinfo() to unify some code

IPv4, IPv6, and DECNet all use struct rta_cacheinfo in a similiar
way, therefore rtnl_put_cacheinfo() is added to reuse code.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rtnetlink.h
net/core/rtnetlink.c
net/decnet/dn_route.c
net/ipv4/route.c
net/ipv6/route.c