kernel_optimize_test/net/vmw_vsock
Gerard Garcia 82dfb540ae VSOCK: Add virtio vsock vsockmon hooks
The virtio drivers deal with struct virtio_vsock_pkt.  Add
virtio_transport_deliver_tap_pkt(pkt) for handing packets to the
vsockmon device.

We call virtio_transport_deliver_tap_pkt(pkt) from
net/vmw_vsock/virtio_transport.c and drivers/vhost/vsock.c instead of
common code.  This is because the drivers may drop packets before
handing them to common code - we still want to capture them.

Signed-off-by: Gerard Garcia <ggarcia@deic.uab.cat>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jorgen Hansen <jhansen@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-24 12:35:56 -04:00
..
af_vsock_tap.c VSOCK: Add vsockmon tap functions 2017-04-24 12:35:56 -04:00
af_vsock.c vsock: cancel packets when failing to connect 2017-03-21 14:41:47 -07:00
Kconfig
Makefile VSOCK: Add vsockmon tap functions 2017-04-24 12:35:56 -04:00
virtio_transport_common.c VSOCK: Add virtio vsock vsockmon hooks 2017-04-24 12:35:56 -04:00
virtio_transport.c VSOCK: Add virtio vsock vsockmon hooks 2017-04-24 12:35:56 -04:00
vmci_transport_notify_qstate.c
vmci_transport_notify.c
vmci_transport_notify.h
vmci_transport.c VSOCK: remove unnecessary ternary operator on return value 2017-03-30 11:07:08 -07:00
vmci_transport.h
vsock_addr.c