summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-05-16 10:37:39 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-17 15:44:10 -0400
commit604ae14ffb6d75d6eef4757859226b758d6bf9e3 (patch)
tree654f931cddafee84c5ed248c463da770055c820d
parentb9eb8b8752804cecbacdb4d24b52e823cf07f107 (diff)
downloadlinux-604ae14ffb6d75d6eef4757859226b758d6bf9e3.tar.bz2
net: Change netdev_fix_features messages loglevel
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 <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 30a4078b3fa2..acd742379344 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -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)