diff options
author | 2020-12-04 17:23:16 +0300 | |
---|---|---|
committer | 2020-12-18 16:14:30 -0500 | |
commit | 411ea23a76526e6efed0b601abb603d3c981b333 (patch) | |
tree | 89faf2e463c0b92ca6b9e22765e5fbe02faa0985 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | virtio_ring: Cut and paste bugs in vring_create_virtqueue_packed() (diff) | |
download | wireguard-linux-411ea23a76526e6efed0b601abb603d3c981b333.tar.xz wireguard-linux-411ea23a76526e6efed0b601abb603d3c981b333.zip |
virtio_net: Fix error code in probe()
Set a negative error code intead of returning success if the MTU has
been changed to something invalid.
Fixes: fe36cbe0671e ("virtio_net: clear MTU when out of range")
Reported-by: Robert Buhren <robert.buhren@sect.tu-berlin.de>
Reported-by: Felicitas Hetzelt <file@sect.tu-berlin.de>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X8pGVJSeeCdII1Ys@mwanda
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions