ethtool: Check that reserved fields of struct ethtool_rxfh are 0
authorBen Hutchings <ben@decadent.org.uk>
Thu, 15 May 2014 15:28:07 +0000 (16:28 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 3 Jun 2014 01:43:16 +0000 (02:43 +0100)
commitf062a3844845d267e3716cbc188ad502a15898b7
tree964e372f604b5df8884f941a4f5c152fcfce5fbe
parentfe62d001372388abb15a324148c913f9b43722a8
ethtool: Check that reserved fields of struct ethtool_rxfh are 0

We should fail rather than silently ignoring use of these extensions.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/core/ethtool.c