diff options
Diffstat (limited to 'net/core/ethtool.c')
| -rw-r--r-- | net/core/ethtool.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 91f74f3eb204..1d00b8922902 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -98,6 +98,7 @@ static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN]  	[NETIF_F_RXALL_BIT] =            "rx-all",  	[NETIF_F_HW_L2FW_DOFFLOAD_BIT] = "l2-fwd-offload",  	[NETIF_F_BUSY_POLL_BIT] =        "busy-poll", +	[NETIF_F_HW_SWITCH_OFFLOAD_BIT] = "hw-switch-offload",  };  static const char @@ -789,7 +790,7 @@ static noinline_for_stack int ethtool_set_rxfh(struct net_device *dev,  	if (ops->get_rxfh_indir_size)  		dev_indir_size = ops->get_rxfh_indir_size(dev);  	if (ops->get_rxfh_key_size) -		dev_key_size = dev->ethtool_ops->get_rxfh_key_size(dev); +		dev_key_size = ops->get_rxfh_key_size(dev);  	if (copy_from_user(&rxfh, useraddr, sizeof(rxfh)))  		return -EFAULT;  |