]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
net: Change netdev_fix_features messages loglevel
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 16 May 2011 10:37:39 +0000 (10:37 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 00:31:53 +0000 (09:31 +0900)
[ Upstream commit 604ae14ffb6d75d6eef4757859226b758d6bf9e3 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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)