aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2021-01-25 14:13:39 +0200
committerJason Gunthorpe <jgg@nvidia.com>2021-01-28 15:27:09 -0400
commitdef4cd43f522253645b72c97181399c241b54536 (patch)
tree017535dd7ced403363feaaef4200233e987c6c49 /tools/perf/scripts/python/syscall-counts.py
parentIB/umad: Return EIO in case of when device disassociated (diff)
downloadwireguard-linux-def4cd43f522253645b72c97181399c241b54536.tar.xz
wireguard-linux-def4cd43f522253645b72c97181399c241b54536.zip
IB/umad: Return EPOLLERR in case of when device disassociated
Currently, polling a umad device will always works, even if the device was disassociated. A disassociated device should immediately return EPOLLERR from poll(). Otherwise userspace is endlessly hung on poll() with no idea that the device has been removed from the system. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Link: https://lore.kernel.org/r/20210125121339.837518-3-leon@kernel.org Signed-off-by: Shay Drory <shayd@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions