Re: [PATCH 2/5] VSOCK: export __vsock_in_bound/connected_table()

2017-10-04 Thread Stefan Hajnoczi
On Tue, Oct 03, 2017 at 09:46:17PM -0700, David Miller wrote: > From: Stefan Hajnoczi > Date: Tue, 3 Oct 2017 11:39:40 -0400 > > > @@ -250,15 +250,17 @@ static struct sock > > *__vsock_find_connected_socket(struct sockaddr_vm *src, > > return NULL; > > } > > > > -static bool __vsock_in_b

Re: [PATCH 2/5] VSOCK: export __vsock_in_bound/connected_table()

2017-10-03 Thread David Miller
From: Stefan Hajnoczi Date: Tue, 3 Oct 2017 11:39:40 -0400 > @@ -250,15 +250,17 @@ static struct sock > *__vsock_find_connected_socket(struct sockaddr_vm *src, > return NULL; > } > > -static bool __vsock_in_bound_table(struct vsock_sock *vsk) > +bool __vsock_in_bound_table(struct vsock

[PATCH 2/5] VSOCK: export __vsock_in_bound/connected_table()

2017-10-03 Thread Stefan Hajnoczi
The vsock_diag.ko module will need to check socket table membership. Signed-off-by: Stefan Hajnoczi --- include/net/af_vsock.h | 2 ++ net/vmw_vsock/af_vsock.c | 6 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/net/af_vsock.h b/include/net/af_vsock.h index 30cba