From: Michał Mirosław Date: Thu, 21 Apr 2011 13:59:21 +0000 (+0000) Subject: net: fix hw_features ethtool_ops->set_flags compatibility X-Git-Tag: v3.0-rc1~377^2~262 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f8629c526b4f7e529a6d27bbd802c0dc7fcc357;p=pandora-kernel.git net: fix hw_features ethtool_ops->set_flags compatibility __ethtool_set_flags() was not taking into account features set but not user-toggleable. Since GFLAGS returns masked dev->features, EINVAL is returned when passed flags differ to it, and not to wanted_features. Signed-off-by: Michał Mirosław Signed-off-by: David S. Miller --- Reading git-diff-tree failed