aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2020-05-04 20:00:54 +0000
committerJens Axboe <[email protected]>2020-05-09 16:16:10 +0000
commitc96874265cd04b4bd4a8e114ac9af039a6d83cfe (patch)
treecae6a3895c52a37ab4215f262e76c319d78a8dbd /tools/perf/scripts/python/net_dropmonitor.py
parentio_uring: don't use 'fd' for openat/openat2/statx (diff)
downloadkernel-c96874265cd04b4bd4a8e114ac9af039a6d83cfe.tar.gz
kernel-c96874265cd04b4bd4a8e114ac9af039a6d83cfe.zip
io_uring: fix zero len do_splice()
do_splice() doesn't expect len to be 0. Just always return 0 in this case as splice(2) does. Fixes: 7d67af2c0134 ("io_uring: add splice(2) support") Reported-by: Jann Horn <[email protected]> Signed-off-by: Pavel Begunkov <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions