net: implement dev_disable_lro() hw_features compatibility

Implement compatibility with new hw_features for dev_disable_lro().
This is a transition path - dev_disable_lro() should be later
integrated into netdev_fix_features() after all drivers are converted.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Michał Mirosław
2011-03-18 16:56:34 +00:00
committed by David S. Miller
parent 736561a01f
commit 27660515a2
3 changed files with 15 additions and 9 deletions

View File

@@ -513,7 +513,7 @@ static int ethtool_set_one_feature(struct net_device *dev,
}
}
static int __ethtool_set_flags(struct net_device *dev, u32 data)
int __ethtool_set_flags(struct net_device *dev, u32 data)
{
u32 changed;