]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'virtio_net-ethtool-validation'
authorDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 16:55:51 +0000 (11:55 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 16:55:51 +0000 (11:55 -0500)
Nikolay Aleksandrov says:

====================
virtio_net: better ethtool setting validation

This small set is a follow-up for the recent patches that added ethtool
get/set settings. Patch 1 changes the speed validation routine to check
if the speed is between 0 and INT_MAX (or SPEED_UNKNOWN) and patch 2 adds
port validation to virtio_net and better validation comment.

This set is on top of Michael's patch which explains that speeds from 0
to INT_MAX are valid:
http://patchwork.ozlabs.org/patch/578911/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge