ipv6: Rename the dst_cache helper functions in ip6_tunnel
authorMartin KaFai Lau <kafai@fb.com>
Tue, 15 Sep 2015 21:30:06 +0000 (14:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2015 21:53:04 +0000 (14:53 -0700)
commitf230d1e891ba1da5953460516960894154f265db
tree67ee847edff1bfc30050c08ba8aa6b8720adc65e
parenta3c119d392d7d7c68865fe76f5732ca9b8164d68
ipv6: Rename the dst_cache helper functions in ip6_tunnel

It is a prep work to fix the dst_entry refcnt bugs in
ip6_tunnel.

This patch rename:
1. ip6_tnl_dst_check() to ip6_tnl_dst_get() to better
   reflect that it will take a dst refcnt in the next patch.
2. ip6_tnl_dst_store() to ip6_tnl_dst_set() to have a more
   conventional name matching with ip6_tnl_dst_get().

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_tunnel.h
net/ipv6/ip6_gre.c
net/ipv6/ip6_tunnel.c