aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorArseniy Krasnov <AVKrasnov@sberdevices.ru>2022-08-19 05:41:35 +0000
committerPaolo Abeni <pabeni@redhat.com>2022-08-23 10:43:12 +0200
commite061aed99855ccef2d64f5bdd66996e19d6cf60b (patch)
tree00f0e1f5c894ffefc07b8a48bd53aff8b2f0c6a2 /include/linux
parentvirtio/vsock: check SO_RCVLOWAT before wake up reader (diff)
vmci/vsock: check SO_RCVLOWAT before wake up reader
This adds extra condition to wake up data reader: do it only when number of readable bytes >= SO_RCVLOWAT. Otherwise, there is no sense to kick user, because it will wait until SO_RCVLOWAT bytes will be dequeued. This check is performed in vsock_data_ready(). Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru> Reviewed-by: Vishnu Dasa <vdasa@vmware.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions