aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/virtio_vsock.h
diff options
context:
space:
mode:
authorArseny Krasnov <arseny.krasnov@kaspersky.com>2021-06-11 14:11:31 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-11 13:32:47 -0700
commitb93f8877c1f2e3d3dcdec7759c5de3d67777f45d (patch)
tree9707c6c6514c4efe1f6caa110356b43479444983 /include/linux/virtio_vsock.h
parentaf_vsock: update comments for stream sockets (diff)
downloadwireguard-linux-b93f8877c1f2e3d3dcdec7759c5de3d67777f45d.tar.xz
wireguard-linux-b93f8877c1f2e3d3dcdec7759c5de3d67777f45d.zip
virtio/vsock: set packet's type in virtio_transport_send_pkt_info()
There is no need to set type of packet which differs from type of socket, so move passing type of packet from 'info' structure to 'virtio_transport_send_pkt_info()' function. Since at current time only stream type is supported, set it directly in 'virtio_ transport_send_pkt_info()', so callers don't need to set it. Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/virtio_vsock.h')
0 files changed, 0 insertions, 0 deletions