diff options
author | David Ahern <dsahern@gmail.com> | 2018-04-17 10:00:39 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-17 13:19:22 -0400 |
commit | 032234d8231909ac049f22ea3b408487e1c103eb (patch) | |
tree | fa280ca40a865bb875a5a2a01c98201b265f7d3d /include | |
parent | 684009d4fdaf40f1e50b0589cff6e039e97058a4 (diff) | |
download | linux-stable-032234d8231909ac049f22ea3b408487e1c103eb.tar.gz linux-stable-032234d8231909ac049f22ea3b408487e1c103eb.tar.bz2 linux-stable-032234d8231909ac049f22ea3b408487e1c103eb.zip |
net/ipv6: Make __inet6_bind static
BPF core gets access to __inet6_bind via ipv6_bpf_stub_impl, so it is
not invoked directly outside of af_inet6.c. Make it static and move
inet6_bind after to avoid forward declaration.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ipv6.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 836f31af1369..68b167d98879 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -1044,8 +1044,6 @@ void ipv6_local_error(struct sock *sk, int err, struct flowi6 *fl6, u32 info); void ipv6_local_rxpmtu(struct sock *sk, struct flowi6 *fl6, u32 mtu); int inet6_release(struct socket *sock); -int __inet6_bind(struct sock *sock, struct sockaddr *uaddr, int addr_len, - bool force_bind_address_no_port, bool with_lock); int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len); int inet6_getname(struct socket *sock, struct sockaddr *uaddr, int peer); |