Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0aea51c3 authored by Amit Shah's avatar Amit Shah Committed by Rusty Russell
Browse files

virtio_net: Check for room in the vq before adding buffer



Saves us one cycle of alloc-add-free if the queue was full.

Signed-off-by: default avatarAmit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (modified)
parent 48925e37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment