net: reduce and unify printk level in netdev_fix_features()
Reduce printk() levels to KERN_INFO in netdev_fix_features() as this will be used by ethtool and might spam dmesg unnecessarily. This converts the function to use netdev_info() instead of plain printk(). As a side effect, bonding and bridge devices will now log dropped features on every slave device change. 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:
committed by
David S. Miller
parent
04ed3e741d
commit
acd1130e87
@@ -379,7 +379,7 @@ void br_features_recompute(struct net_bridge *br)
|
||||
}
|
||||
|
||||
done:
|
||||
br->dev->features = netdev_fix_features(features, NULL);
|
||||
br->dev->features = netdev_fix_features(br->dev, features);
|
||||
}
|
||||
|
||||
/* called with RTNL */
|
||||
|
Reference in New Issue
Block a user