Skip to content

Commit

Permalink
net: Change netdev_fix_features messages loglevel
Browse files Browse the repository at this point in the history
Cool, how about we make 'Features changed' debug as well?
This way userspace can't fill up the log just by tweaking tun features
with an ioctl.

Signed-off-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
mstsirkin authored and davem330 committed May 17, 2011
1 parent b9eb8b8 commit 604ae14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -5258,7 +5258,7 @@ void netdev_update_features(struct net_device *dev)
if (dev->features == features)
return;

netdev_info(dev, "Features changed: 0x%08x -> 0x%08x\n",
netdev_dbg(dev, "Features changed: 0x%08x -> 0x%08x\n",
dev->features, features);

if (dev->netdev_ops->ndo_set_features)
Expand Down

0 comments on commit 604ae14

Please sign in to comment.