]> 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)
commit89513c38089c504ed1d77e498ddcd8d15a98c2f3
treefa280ca40a865bb875a5a2a01c98201b265f7d3d
parent67063dee2ffbbfdf08d6009435c770a94f1799e6
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