diff options
author | Harshavardhan Unnibhavi <harshanavkis@gmail.com> | 2021-08-02 19:35:06 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-08-03 14:30:59 -0700 |
commit | e3ea110d6e796146920e1be0108464ebcf283ef7 (patch) | |
tree | 46b934e9107735ff1df36ee5231052ae2dfbe3e4 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | abc7285d89ffd089739a1a3059ddd843dd019637 (diff) |
VSOCK: handle VIRTIO_VSOCK_OP_CREDIT_REQUEST
The original implementation of the virtio-vsock driver does not
handle a VIRTIO_VSOCK_OP_CREDIT_REQUEST as required by the
virtio-vsock specification. The vsock device emulated by
vhost-vsock and the virtio-vsock driver never uses this request,
which was probably why nobody noticed it. However, another
implementation of the device may use this request type.
Hence, this commit introduces a way to handle an explicit credit
request by responding with a corresponding credit update as
required by the virtio-vsock specification.
Fixes: 06a8fc78367d ("VSOCK: Introduce virtio_vsock_common.ko")
Signed-off-by: Harshavardhan Unnibhavi <harshanavkis@gmail.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/r/20210802173506.2383-1-harshanavkis@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions