summaryrefslogtreecommitdiffstats
path: root/net/vmw_vsock/vmci_transport_notify.h
diff options
context:
space:
mode:
authorArseniy Krasnov <AVKrasnov@sberdevices.ru>2022-08-19 05:29:34 +0000
committerPaolo Abeni <pabeni@redhat.com>2022-08-23 10:43:11 +0200
commite7a3266c9167fe8878c303959a8cc4527f83888b (patch)
tree3edd49d4777544dc0eeea57f928d8092506e3fa1 /net/vmw_vsock/vmci_transport_notify.h
parent24764f8d3c316a3c58b51140d8e489e98e7ffdcc (diff)
downloadlinux-stable-e7a3266c9167fe8878c303959a8cc4527f83888b.tar.gz
linux-stable-e7a3266c9167fe8878c303959a8cc4527f83888b.tar.bz2
linux-stable-e7a3266c9167fe8878c303959a8cc4527f83888b.zip
virtio/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> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/vmw_vsock/vmci_transport_notify.h')
0 files changed, 0 insertions, 0 deletions