]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv6: Make __inet6_bind static
authorDavid Ahern <dsahern@gmail.com>
Tue, 17 Apr 2018 17:00:39 +0000 (10:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Apr 2018 17:19:22 +0000 (13:19 -0400)
commitf4ba4f25b577ed0bc32f326b40a134e2af74529b
treefa280ca40a865bb875a5a2a01c98201b265f7d3d
parentff2e0ebc83a7588b0fbe6b5b4ca78361d345fc23
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>
include/net/ipv6.h
net/ipv6/af_inet6.c