Skip to content

net/vsock: backport vsock fixes for RHEL-9.0

Stefano Garzarella requested to merge sgarzarella/centos-stream-9:bz2026949 into main

Bugzilla: http://bugzilla.redhat.com/2026949

This MR includes AF_VSOCK core and transports fixes for RHEL 9.0 ​

$ git backport-diff -u upstream-local/master -r main..HEAD
Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch
[down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/13:[----] [--] 'virtio/vsock: rename 'EOR' to 'EOM' bit.'
002/13:[----] [--] 'virtio/vsock: add 'VIRTIO_VSOCK_SEQ_EOR' bit.'
003/13:[----] [--] 'vhost/vsock: support MSG_EOR bit processing'
004/13:[----] [--] 'virtio/vsock: support MSG_EOR bit processing'
005/13:[----] [--] 'af_vsock: rename variables in receive loop'
006/13:[----] [--] 'vsock_test: update message bounds test for MSG_EOR'
007/13:[----] [--] 'vsock: Refactor vsock_*_getsockopt to resemble sock_getsockopt'
008/13:[----] [--] 'vsock: Enable y2038 safe timeval for timeout'
009/13:[----] [--] 'vsock_diag_test: remove free_sock_stat() call in test_no_sockets'
010/13:[----] [--] 'vsock: prevent unnecessary refcnt inc for nonblocking connect'
011/13:[----] [--] 'vhost/vsock: fix incorrect used length reported to the guest'
012/13:[----] [--] 'vhost/vsock: cleanup removing `len` variable'
013/13:[----] [--] 'virtio/vsock: fix the transport to work with VMADDR_CID_ANY'

Tested: running iperf-vsock and tools/testing/vsock/tests ​

Signed-off-by: Stefano Garzarella sgarzare@redhat.com

Edited by Stefano Garzarella

Merge request reports