[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151101.121502.1753196778636094034.davem@davemloft.net>
Date: Sun, 01 Nov 2015 12:15:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: stefanha@...hat.com
Cc: netdev@...r.kernel.org, pv-drivers@...are.com,
linux-kernel@...r.kernel.org, jhansen@...are.com,
virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH] VSOCK: define VSOCK_SS_LISTEN once only
From: Stefan Hajnoczi <stefanha@...hat.com>
Date: Thu, 29 Oct 2015 11:57:42 +0000
> The SS_LISTEN socket state is defined by both af_vsock.c and
> vmci_transport.c. This is risky since the value could be changed in one
> file and the other would be out of sync.
>
> Rename from SS_LISTEN to VSOCK_SS_LISTEN since the constant is not part
> of enum socket_state (SS_CONNECTED, ...). This way it is clear that the
> constant is vsock-specific.
>
> The big text reflow in af_vsock.c was necessary to keep to the maximum
> line length. Text is unchanged except for s/SS_LISTEN/VSOCK_SS_LISTEN/.
>
> Signed-off-by: Stefan Hajnoczi <stefanha@...hat.com>
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists