diff options
author | 2023-03-28 14:32:12 +0300 | |
---|---|---|
committer | 2023-03-30 10:47:48 +0200 | |
commit | b8d2f61fdf2a566f7872158f35e65599aceb90fb (patch) | |
tree | 2933e84f77e16b64a8d77c0bdc8b76d7cc05eff6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | virtio/vsock: fix header length on skb merging (diff) | |
download | linux-rng-b8d2f61fdf2a566f7872158f35e65599aceb90fb.tar.xz linux-rng-b8d2f61fdf2a566f7872158f35e65599aceb90fb.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions