remarkable-linux/net/vmw_vsock
Stefan Hajnoczi ea3803c193 VSOCK: define VSOCK_SS_LISTEN once only
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@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-01 12:14:47 -05:00
..
af_vsock.c VSOCK: define VSOCK_SS_LISTEN once only 2015-11-01 12:14:47 -05:00
Kconfig treewide: Fix typo in Kconfig 2013-10-14 15:23:02 +02:00
Makefile VSOCK: Introduce VM Sockets 2013-02-10 19:41:08 -05:00
vmci_transport.c VSOCK: define VSOCK_SS_LISTEN once only 2015-11-01 12:14:47 -05:00
vmci_transport.h VSOCK: sock_put wasn't safe to call in interrupt context 2015-10-22 07:21:05 -07:00
vmci_transport_notify.c net: Fix use after free by removing length arg from sk_data_ready callbacks. 2014-04-11 16:15:36 -04:00
vmci_transport_notify.h VSOCK: Introduce VM Sockets 2013-02-10 19:41:08 -05:00
vmci_transport_notify_qstate.c net: Fix use after free by removing length arg from sk_data_ready callbacks. 2014-04-11 16:15:36 -04:00
vsock_addr.c VSOCK: Move af_vsock.h and vsock_addr.h to include/net 2013-07-27 22:14:06 -07:00