Arseniy Krasnov b8d2f61fdf virtio/vsock: WARN_ONCE() for invalid state of socket
This adds WARN_ONCE() and return from stream dequeue callback when
socket's queue is empty, but 'rx_bytes' still non-zero. This allows
the detection of potential bugs due to packet merging (see previous
patch).

Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-03-30 10:47:48 +02:00
..
2023-02-21 18:24:12 -08:00
2023-03-23 16:03:33 -07:00
2023-03-16 17:34:40 -07:00
2023-02-13 09:30:14 +00:00
2023-02-21 18:24:12 -08:00
2023-03-15 08:15:19 +00:00
2023-03-10 08:45:30 -08:00
2023-02-21 18:24:12 -08:00
2023-03-16 17:23:48 -07:00