aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorStefano Garzarella <[email protected]>2020-05-27 09:56:55 +0200
committerDavid S. Miller <[email protected]>2020-05-27 11:20:23 -0700
commit7e0afbdfd13d1e708fe96e31c46c4897101a6a43 (patch)
treed12eae25ad2af4fca707d7c04b3730a5d7d70adf /tools/perf/scripts/python/exported-sql-viewer.py
parent5b186cd60f033110960a3db424ffbd6de4cee528 (diff)
vsock: fix timeout in vsock_accept()
The accept(2) is an "input" socket interface, so we should use SO_RCVTIMEO instead of SO_SNDTIMEO to set the timeout. So this patch replace sock_sndtimeo() with sock_rcvtimeo() to use the right timeout in the vsock_accept(). Fixes: d021c344051a ("VSOCK: Introduce VM Sockets") Signed-off-by: Stefano Garzarella <[email protected]> Reviewed-by: Jorgen Hansen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions