net: Change netdev_fix_features messages loglevel
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 16 May 2011 10:37:39 +0000 (10:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 May 2011 19:44:10 +0000 (15:44 -0400)
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>
net/core/dev.c

index 30a4078b3fa27011079c7ae31d0ab828593849f1..acd742379344dd2fa4d7077f0dbd15c2cb48bed3 100644 (file)
@@ -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)