diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2014-09-12 00:35:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-13 22:38:42 +0200 |
commit | 013b4d90387a5dca54281263e0d4650db97bd67c (patch) | |
tree | 43a7ac48d7122a5a09cad4febaf21d94135e09dc /include/net/addrconf.h | |
parent | ipv6: remove ipv6_sk_ac_lock (diff) | |
download | linux-013b4d90387a5dca54281263e0d4650db97bd67c.tar.xz linux-013b4d90387a5dca54281263e0d4650db97bd67c.zip |
ipv6: clean up ipv6_dev_ac_inc()
Make it accept inet6_dev, and rename it to __ipv6_dev_ac_inc()
to reflect this change.
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/addrconf.h')
-rw-r--r-- | include/net/addrconf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index f679877bb601..9b1d42e66cca 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h @@ -202,7 +202,7 @@ int ipv6_sock_ac_drop(struct sock *sk, int ifindex, const struct in6_addr *addr); void ipv6_sock_ac_close(struct sock *sk); -int ipv6_dev_ac_inc(struct net_device *dev, const struct in6_addr *addr); +int __ipv6_dev_ac_inc(struct inet6_dev *idev, const struct in6_addr *addr); int __ipv6_dev_ac_dec(struct inet6_dev *idev, const struct in6_addr *addr); bool ipv6_chk_acast_addr(struct net *net, struct net_device *dev, const struct in6_addr *addr); |