linux/net/vmw_vsock
Stefano Garzarella 4aaf596148 vsock/virtio: add WARN_ON check on virtio_transport_get_ops()
virtio_transport_get_ops() and virtio_transport_send_pkt_info()
can only be used on connecting/connected sockets, since a socket
assigned to a transport is required.

This patch adds a WARN_ON() on virtio_transport_get_ops() to check
this requirement, a comment and a returned error on
virtio_transport_send_pkt_info(),

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-16 16:07:12 -08:00
..
af_vsock_tap.c
af_vsock.c vsock: avoid to assign transport if its initialization fails 2019-11-21 11:37:16 -08:00
diag.c
hyperv_transport.c - Support for new VMBus protocols (Andrea Parri). 2019-11-30 14:50:51 -08:00
Kconfig
Makefile
virtio_transport_common.c vsock/virtio: add WARN_ON check on virtio_transport_get_ops() 2019-12-16 16:07:12 -08:00
virtio_transport.c vsock: prevent transport modules unloading 2019-11-14 18:12:18 -08:00
vmci_transport_notify_qstate.c
vmci_transport_notify.c
vmci_transport_notify.h
vmci_transport.c vsock: prevent transport modules unloading 2019-11-14 18:12:18 -08:00
vmci_transport.h vsock: handle buffer_size sockopts in the core 2019-11-14 18:12:18 -08:00
vsock_addr.c