summaryrefslogtreecommitdiff
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2016-02-07 23:52:23 +0300
committerDavid S. Miller <davem@davemloft.net>2016-02-11 19:55:38 +0300
commite02564ee334a7ae46b71fc18576391cb9455433e (patch)
treee53be70ec125f8de99da9175302cac31c4b120c0 /drivers/net/virtio_net.c
parent83840f5b31851386a038781e272d928300754283 (diff)
downloadlinux-e02564ee334a7ae46b71fc18576391cb9455433e.tar.xz
ethtool: make validate_speed accept all speeds between 0 and INT_MAX
Devices these days can have any speed and as was recently pointed out any speed from 0 to INT_MAX is valid so adjust speed validation to accept such values. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions