]> asedeno.scripts.mit.edu Git - linux.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)
commit032234d8231909ac049f22ea3b408487e1c103eb
treefa280ca40a865bb875a5a2a01c98201b265f7d3d
parent684009d4fdaf40f1e50b0589cff6e039e97058a4
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