diff options
author | 2022-08-19 05:31:43 +0000 | |
---|---|---|
committer | 2022-08-23 10:43:11 +0200 | |
commit | a274f6ff3c5c79c27d254b48cad3b4814c950908 (patch) | |
tree | 7747e3459a95153ff4941eb5b16d28887187155e /lib/memory-notifier-error-inject.c | |
parent | virtio/vsock: use 'target' in notify_poll_in callback (diff) | |
download | linux-rng-a274f6ff3c5c79c27d254b48cad3b4814c950908.tar.xz linux-rng-a274f6ff3c5c79c27d254b48cad3b4814c950908.zip |
vmci/vsock: use 'target' in notify_poll_in callback
This callback controls setting of POLLIN, POLLRDNORM output bits of poll()
syscall, but in some cases, it is incorrectly to set it, when socket has
at least 1 bytes of available data. Use 'target' which is already exists.
Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Vishnu Dasa <vdasa@vmware.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions