Re: [PATCH net-next] net/ipv6: Make __inet6_bind static

2018-04-17 Thread David Miller
From: David Ahern Date: Tue, 17 Apr 2018 10:00:39 -0700 > 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 Applied, thanks

[PATCH net-next] net/ipv6: Make __inet6_bind static

2018-04-17 Thread David Ahern
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 --- include/net/ipv6.h | 2 -- net/ipv6/af_inet6.c | 53 ++