VSOCK: move __vsock_in_bound/connected_table() to af_vsock.h
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 5 Oct 2017 20:46:51 +0000 (16:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 01:44:17 +0000 (18:44 -0700)
commitbf359b8127719535f88494adb3c2b73c06667dcd
treec402517fa7ee2ea538ea3920f33b2629db4e1310
parent44f209807ee87a5eddf6c0432f3fb63cec27bad8
VSOCK: move __vsock_in_bound/connected_table() to af_vsock.h

The vsock_diag.ko module will need to check socket table membership.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/af_vsock.h
net/vmw_vsock/af_vsock.c