]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit055525e0047f6010d00483f78d7cc08c7d3a39bc
tree461c6b81ea51b25e40d6f7b51ff520e9e1f134f4
parent209523d94d6590453a4a937910c0e1ac422cfd25
parent559c8df4b9a72448f596e0a8884e8c233bdbbb45
Merge branch 'virtio_net-ethtool-validation'

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>