]> git.baikalelectronics.ru Git - kernel.git/commit
vsock/virtio: send a credit update when buffer size is changed
authorStefano Garzarella <sgarzare@redhat.com>
Thu, 17 Oct 2019 12:44:02 +0000 (14:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2019 17:19:43 +0000 (10:19 -0700)
commitade4d3a5fd31846335843db8792b4821ed1c3cc1
tree0916e7ca918c766c95ead2903abdde98c5361a08
parentde26054cd2eb093043eed99a61d6fe0b660cd5cf
vsock/virtio: send a credit update when buffer size is changed

When the user application set a new buffer size value, we should
update the remote peer about this change, since it uses this
information to calculate the credit available.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/vmw_vsock/virtio_transport_common.c