vsock/test: track bytes in sk_buff merging test for SOCK_SEQPACKET
authorStefano Garzarella <sgarzare@redhat.com>
Fri, 15 Sep 2023 12:14:52 +0000 (14:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Sep 2023 16:42:37 +0000 (17:42 +0100)
commitbc7bea452d322b785d960fd20795babff664975c
treef2a627f027ba366039551fe1f02de351d1f91074
parent2a8548a9bb4c4ba14badd6be72f1d2b87a6bddc0
vsock/test: track bytes in sk_buff merging test for SOCK_SEQPACKET

The test was a bit complicated to read.
Added variables to keep track of the bytes read and to be read
in each step. Also some comments.

The test is unchanged.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Arseniy Krasnov <avkrasnov@salutedevices.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/vsock/vsock_test.c