diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2017-03-29 19:09:14 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-04-07 16:38:59 +0300 |
commit | fe36cbe0671e868cbd2f534a50ac60273fa5acf2 (patch) | |
tree | 0afa0bfd5cc28f9715d2540fafeb0b49ff3ef81d /Documentation/nommu-mmap.txt | |
parent | 404123c2db798027e852480ed9c4accef9f1d9e6 (diff) | |
download | linux-fe36cbe0671e868cbd2f534a50ac60273fa5acf2.tar.bz2 |
virtio_net: clear MTU when out of range
virtio attempts to clear the MTU feature bit if the value is out of the
supported range, but this has no real effect since FEATURES_OK has
already been set.
Fix this up by checking the MTU in the new validate callback.
Fixes: 14de9d114a82 ("virtio-net: Add initial MTU advice feature")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'Documentation/nommu-mmap.txt')
0 files changed, 0 insertions, 0 deletions