diff options
author | David Ahern <dsahern@gmail.com> | 2018-04-18 18:38:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-19 15:40:12 -0400 |
commit | 93c2fb253d177a0b8f4f93592441f88c9b7d6245 (patch) | |
tree | 7cb2f0bd31d48780130b190fc0d81dfe4aa7db6d /net/ipv6/anycast.c | |
parent | 88078d98d1bb085d72af8437707279e203524fa5 (diff) |
net/ipv6: Rename fib6_info struct elements
Change the prefix for fib6_info struct elements from rt6i_ to fib6_.
rt6i_pcpu and rt6i_exception_bucket are left as is given that they
point to rt6_info entries.
Rename only; not functional change intended.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/anycast.c')
-rw-r--r-- | net/ipv6/anycast.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv6/anycast.c b/net/ipv6/anycast.c index 0e35657501a7..eed3bf63bd05 100644 --- a/net/ipv6/anycast.c +++ b/net/ipv6/anycast.c | |||
@@ -218,10 +218,10 @@ static void aca_put(struct ifacaddr6 *ac) | |||
218 | } | 218 | } |
219 | } | 219 | } |
220 | 220 | ||
221 | static struct ifacaddr6 *aca_alloc(struct fib6_info *rt, | 221 | static struct ifacaddr6 *aca_alloc(struct fib6_info *f6i, |
222 | const struct in6_addr *addr) | 222 | const struct in6_addr *addr) |
223 | { | 223 | { |
224 | struct inet6_dev *idev = rt->rt6i_idev; | 224 | struct inet6_dev *idev = f6i->fib6_idev; |
225 | struct ifacaddr6 *aca; | 225 | struct ifacaddr6 *aca; |
226 | 226 | ||
227 | aca = kzalloc(sizeof(*aca), GFP_ATOMIC); | 227 | aca = kzalloc(sizeof(*aca), GFP_ATOMIC); |
@@ -231,8 +231,8 @@ static struct ifacaddr6 *aca_alloc(struct fib6_info *rt, | |||
231 | aca->aca_addr = *addr; | 231 | aca->aca_addr = *addr; |
232 | in6_dev_hold(idev); | 232 | in6_dev_hold(idev); |
233 | aca->aca_idev = idev; | 233 | aca->aca_idev = idev; |
234 | fib6_info_hold(rt); | 234 | fib6_info_hold(f6i); |
235 | aca->aca_rt = rt; | 235 | aca->aca_rt = f6i; |
236 | aca->aca_users = 1; | 236 | aca->aca_users = 1; |
237 | /* aca_tstamp should be updated upon changes */ | 237 | /* aca_tstamp should be updated upon changes */ |
238 | aca->aca_cstamp = aca->aca_tstamp = jiffies; | 238 | aca->aca_cstamp = aca->aca_tstamp = jiffies; |