Stefano Garzarella
2021-Mar-25 09:42 UTC
[RFC PATCH v7 06/22] af_vsock: implement send logic for SEQPACKET
On Tue, Mar 23, 2021 at 04:10:42PM +0300, Arseny Krasnov wrote:>This adds some logic to current stream enqueue function for SEQPACKET >support: >1) Use transport's seqpacket enqueue callback. >2) Return value from enqueue function is whole record length or error > for SOCK_SEQPACKET. > >Signed-off-by: Arseny Krasnov <arseny.krasnov at kaspersky.com> >--- > v6 -> v7: > 'seqpacket_enqueue' callback interface changed, 'flags' argument was > removed, because it was 'msg_flags' field of 'msg' argument which is > already exists. > > include/net/af_vsock.h | 2 ++ > net/vmw_vsock/af_vsock.c | 21 +++++++++++++++------ > 2 files changed, 17 insertions(+), 6 deletions(-)Reviewed-by: Stefano Garzarella <sgarzare at redhat.com>