diff options
author | Arseniy Krasnov <AVKrasnov@sberdevices.ru> | 2022-08-19 08:33:47 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-08-23 11:43:11 +0300 |
commit | ee0b3843a26920dad713c27cd8f3a3cfc5ae9c37 (patch) | |
tree | 6ef8da6f9821477b7c9a004cdb62821286c9e204 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a274f6ff3c5c79c27d254b48cad3b4814c950908 (diff) | |
download | linux-ee0b3843a26920dad713c27cd8f3a3cfc5ae9c37.tar.xz |
vsock: pass sock_rcvlowat to notify_poll_in as target
Passing 1 as the target to notify_poll_in(), we don't honor
what the user has set via SO_RCVLOWAT, going to set POLLIN
and POLLRDNORM, even if we don't have the amount of bytes
expected by the user.
Let's use sock_rcvlowat() to get the right target to pass to
notify_poll_in();
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions