diff options
| author | Jens Axboe <[email protected]> | 2020-02-27 21:17:49 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-02-27 21:17:49 +0000 |
| commit | d876836204897b6d7d911f942084f69a1e9d5c4d (patch) | |
| tree | 86e904e35ae5a6bdfea02665e869e0be78d7677b /tools/perf/scripts/python/sctop.py | |
| parent | io_uring: define and set show_fdinfo only if procfs is enabled (diff) | |
| download | kernel-d876836204897b6d7d911f942084f69a1e9d5c4d.tar.gz kernel-d876836204897b6d7d911f942084f69a1e9d5c4d.zip | |
io_uring: fix 32-bit compatability with sendmsg/recvmsg
We must set MSG_CMSG_COMPAT if we're in compatability mode, otherwise
the iovec import for these commands will not do the right thing and fail
the command with -EINVAL.
Found by running the test suite compiled as 32-bit.
Cc: [email protected]
Fixes: aa1fa28fc73e ("io_uring: add support for recvmsg()")
Fixes: 0fa03c624d8f ("io_uring: add support for sendmsg()")
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
