aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <[email protected]>2015-10-29 11:57:42 +0000
committerDavid S. Miller <[email protected]>2015-11-01 12:14:47 -0500
commitea3803c193df18d8353d6c8d77034066a08c19f5 (patch)
tree9af9acb0d01bd0190ccb035b0c1a21508cbc0af6 /tools/perf/scripts/python/net_dropmonitor.py
parent24c39de0091197f4c1f1a18a7c31e540000dc3b8 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions