lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171003.214617.1472124119367144767.davem@davemloft.net>
Date:   Tue, 03 Oct 2017 21:46:17 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     stefanha@...hat.com
Cc:     netdev@...r.kernel.org, jhansen@...are.com, decui@...rosoft.com
Subject: Re: [PATCH 2/5] VSOCK: export __vsock_in_bound/connected_table()

From: Stefan Hajnoczi <stefanha@...hat.com>
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_sock *vsk)
>  {
>  	return !list_empty(&vsk->bound_table);
>  }
> +EXPORT_SYMBOL_GPL(__vsock_in_bound_table);
>  
> -static bool __vsock_in_connected_table(struct vsock_sock *vsk)
> +bool __vsock_in_connected_table(struct vsock_sock *vsk)
>  {
>  	return !list_empty(&vsk->connected_table);
>  }
> +EXPORT_SYMBOL_GPL(__vsock_in_connected_table);

Maybe you can just make these inline helpers in af_vsock.h?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ