Re: [RFC PATCH v4 17/17] virtio/vsock: simplify credit update function API

2021-02-11 Thread Stefano Garzarella
On Sun, Feb 07, 2021 at 06:19:03PM +0300, Arseny Krasnov wrote: 'virtio_transport_send_credit_update()' has some extra args: 1) 'type' may be set in 'virtio_transport_send_pkt_info()' using type of socket. 2) This function is static and 'hdr' arg was always NULL. Okay, I saw this patch after

[RFC PATCH v4 17/17] virtio/vsock: simplify credit update function API

2021-02-07 Thread Arseny Krasnov
'virtio_transport_send_credit_update()' has some extra args: 1) 'type' may be set in 'virtio_transport_send_pkt_info()' using type of socket. 2) This function is static and 'hdr' arg was always NULL. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/virtio_transport_common.c | 20 +-