diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-04-28 16:00:59 +0900 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2024-06-04 15:14:26 +0800 |
| commit | 8dc8220e23a6d16415b6a0a46785224e8bc7edd1 (patch) | |
| tree | f8e2477d7355ae6a4db3a6fcdfd5f28d21ff86ea /hw/net/virtio-net.c | |
| parent | 72fa42cfca7060fab00c534e71fc850b194a4c6d (diff) | |
| download | focaccia-qemu-8dc8220e23a6d16415b6a0a46785224e8bc7edd1.tar.gz focaccia-qemu-8dc8220e23a6d16415b6a0a46785224e8bc7edd1.zip | |
ebpf: Return 0 when configuration fails
The kernel interprets the returned value as an unsigned 32-bit so -1 will mean queue 4294967295, which is awkward. Return 0 instead. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions