]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfeb5095276bc19fdfe7d20ac2af251668af371f6
tree67ee847edff1bfc30050c08ba8aa6b8720adc65e
parent566121dc3ee7de55a6c3a88099f9de2219f4a6cf
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