linux/net/vmw_vsock
Stefano Garzarella 91aa49a8fa vsock/virtio: remove redundant copy_failed variable
When memcpy_to_msg() fails in virtio_transport_seqpacket_do_dequeue(),
we already set `dequeued_len` with the negative error value returned
by memcpy_to_msg().

So we can directly check `dequeued_len` value instead of using a
dedicated flag variable to skip the copy path for the rest of
fragments.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-18 12:59:53 -07:00
..
af_vsock_tap.c
af_vsock.c vsock: rename vsock_wait_data() 2021-06-18 12:59:53 -07:00
diag.c
hyperv_transport.c vsock: fix locking in vsock_shutdown() 2021-02-09 15:31:22 -08:00
Kconfig vsock: add vsock_loopback transport 2019-12-11 15:01:23 -08:00
Makefile vsock: add vsock_loopback transport 2019-12-11 15:01:23 -08:00
virtio_transport_common.c vsock/virtio: remove redundant copy_failed variable 2021-06-18 12:59:53 -07:00
virtio_transport.c virtio/vsock: enable SEQPACKET for transport 2021-06-11 13:32:47 -07:00
vmci_transport_notify_qstate.c
vmci_transport_notify.c
vmci_transport_notify.h
vmci_transport.c vsock/vmci: remove the repeated word "be" 2021-06-10 13:43:12 -07:00
vmci_transport.h
vsock_addr.c vsock_addr: Check for supported flag values 2020-12-14 19:33:39 -08:00
vsock_loopback.c vsock/loopback: enable SEQPACKET for transport 2021-06-11 13:32:47 -07:00