Subject: Re: [PATCH 1/1] VSOCK: Introduce VM Sockets

From: Gerd Hoffmann <[email-masked]>
Date: Wed, 13 Feb 2013 13:44:31 +0100

On 02/07/13 01:23, Andy King wrote:
> +static int vsock_create(struct net *net, struct socket *sock,
> +			int protocol, int kern)
> +{
> +	if (!sock)
> +		return -EINVAL;
> +
> +	if (protocol)
> +		return -EPROTONOSUPPORT;
> +

IMO protocol == PF_VSOCK should not get rejected here.

cheers,
  Gerd