Revision 8daaf39f7f6ef53a11817f6a11ec104016c3545f authored by Arseniy Krasnov on 14 March 2023, 11:08:20 UTC, committed by David S. Miller on 16 March 2023, 17:28:23 UTC
This returns behaviour of SOCK_STREAM read as before skbuff usage. When copying to user fails current skbuff won't be dropped, but returned to sockets's queue. Technically instead of 'skb_dequeue()', 'skb_peek()' is called and when skbuff becomes empty, it is removed from queue by '__skb_unlink()'. Fixes: 71dc9ec9ac7d ("virtio/vsock: replace virtio_vsock_pkt with sk_buff") Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Acked-by: Bobby Eshleman <bobby.eshleman@bytedance.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 6825e6b
File | Mode | Size |
---|---|---|
at91sam9_ddrsdr.h | -rw-r--r-- | 6.0 KB |
at91sam9_sdramc.h | -rw-r--r-- | 3.5 KB |
atmel-secumod.h | -rw-r--r-- | 418 bytes |
atmel-sfr.h | -rw-r--r-- | 1.8 KB |
atmel_tcb.h | -rw-r--r-- | 11.5 KB |
sama7-ddr.h | -rw-r--r-- | 4.6 KB |
sama7-sfrbu.h | -rw-r--r-- | 1.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...