summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorArseniy Krasnov <avkrasnov@sberdevices.ru>2023-04-13 12:17:19 +0300
committerDavid S. Miller <davem@davemloft.net>2023-04-14 13:04:04 +0300
commiteaaa4e92397981c65dae7b9a38425b8fa984d674 (patch)
treec68d61bf9543f6751835f46b05e112d521526c60 /net/core
parentc61fcc090fd9e3c214d1aad2e020bcab30088b42 (diff)
downloadlinux-eaaa4e92397981c65dae7b9a38425b8fa984d674.tar.xz
vsock/loopback: don't disable irqs for queue access
This replaces 'skb_queue_tail()' with 'virtio_vsock_skb_queue_tail()'. The first one uses 'spin_lock_irqsave()', second uses 'spin_lock_bh()'. There is no need to disable interrupts in the loopback transport as there is no access to the queue with skbs from interrupt context. Both virtio and vhost transports work in the same way. Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions