diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-10-29 11:57:42 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-01 17:14:47 (GMT) |
commit | ea3803c193df18d8353d6c8d77034066a08c19f5 (patch) | |
tree | 9af9acb0d01bd0190ccb035b0c1a21508cbc0af6 /net/dsa | |
parent | 24c39de0091197f4c1f1a18a7c31e540000dc3b8 (diff) | |
download | linux-ea3803c193df18d8353d6c8d77034066a08c19f5.tar.xz |
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>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions