diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-07-07 19:54:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-07-07 19:54:05 -0400 |
commit | 5a8da02ba59a9f978e2af4c5da9a029ea5f5ee3b (patch) | |
tree | 83d71021f6fd59eb42fa6d3326ab0fb4419b6e25 /net | |
parent | 120bda20c6f64b32e8bfbdd7b34feafaa5f5332e (diff) |
[NET]: Fix network device interface printk message priority
The printk's in the network device interface code should all be tagged
with severity.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 066a60a75280..0096349ee38b 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1727,7 +1727,7 @@ static int ing_filter(struct sk_buff *skb) | |||
1727 | if (dev->qdisc_ingress) { | 1727 | if (dev->qdisc_ingress) { |
1728 | __u32 ttl = (__u32) G_TC_RTTL(skb->tc_verd); | 1728 | __u32 ttl = (__u32) G_TC_RTTL(skb->tc_verd); |
1729 | if (MAX_RED_LOOP < ttl++) { | 1729 | if (MAX_RED_LOOP < ttl++) { |
1730 | printk("Redir loop detected Dropping packet (%s->%s)\n", | 1730 | printk(KERN_WARNING "Redir loop detected Dropping packet (%s->%s)\n", |
1731 | skb->input_dev->name, skb->dev->name); | 1731 | skb->input_dev->name, skb->dev->name); |
1732 | return TC_ACT_SHOT; | 1732 | return TC_ACT_SHOT; |
1733 | } | 1733 | } |
@@ -2922,7 +2922,7 @@ int register_netdevice(struct net_device *dev) | |||
2922 | /* Fix illegal SG+CSUM combinations. */ | 2922 | /* Fix illegal SG+CSUM combinations. */ |
2923 | if ((dev->features & NETIF_F_SG) && | 2923 | if ((dev->features & NETIF_F_SG) && |
2924 | !(dev->features & NETIF_F_ALL_CSUM)) { | 2924 | !(dev->features & NETIF_F_ALL_CSUM)) { |
2925 | printk("%s: Dropping NETIF_F_SG since no checksum feature.\n", | 2925 | printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n", |
2926 | dev->name); | 2926 | dev->name); |
2927 | dev->features &= ~NETIF_F_SG; | 2927 | dev->features &= ~NETIF_F_SG; |
2928 | } | 2928 | } |
@@ -2930,7 +2930,7 @@ int register_netdevice(struct net_device *dev) | |||
2930 | /* TSO requires that SG is present as well. */ | 2930 | /* TSO requires that SG is present as well. */ |
2931 | if ((dev->features & NETIF_F_TSO) && | 2931 | if ((dev->features & NETIF_F_TSO) && |
2932 | !(dev->features & NETIF_F_SG)) { | 2932 | !(dev->features & NETIF_F_SG)) { |
2933 | printk("%s: Dropping NETIF_F_TSO since no SG feature.\n", | 2933 | printk(KERN_NOTICE "%s: Dropping NETIF_F_TSO since no SG feature.\n", |
2934 | dev->name); | 2934 | dev->name); |
2935 | dev->features &= ~NETIF_F_TSO; | 2935 | dev->features &= ~NETIF_F_TSO; |
2936 | } | 2936 | } |