diff options
| author | Michael S. Tsirkin | 2017-07-03 21:25:24 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-07-03 21:29:49 +0200 |
| commit | 2eef278b9e6326707410eed23be40e57f6c331b7 (patch) | |
| tree | 74362e21b1fb8a9f59958a09d1da343467c0e508 /scripts/checkpatch.pl | |
| parent | tests: Add unit tests for the VM Generation ID feature (diff) | |
| download | qemu-2eef278b9e6326707410eed23be40e57f6c331b7.tar.gz qemu-2eef278b9e6326707410eed23be40e57f6c331b7.tar.xz qemu-2eef278b9e6326707410eed23be40e57f6c331b7.zip | |
virtio-net: fix tx queue size for !vhost-user
Current code segfaults when no nic peer is specified.
Fix it up - fall back to default queue size.
Fixes: 9b02e1618cf26a ("virtio-net: enable configurable tx queue size")
Cc: Wei Wang <wei.w.wang@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
