diff mbox series

[net-next] ipvlan: egress mcast packets are not exceptional

Message ID f17f6a43d7b752471226edc18d57635eb93aaae0.1519814574.git.pabeni@redhat.com
State Accepted, archived
Delegated to: David Miller
Headers show
Series [net-next] ipvlan: egress mcast packets are not exceptional | expand

Commit Message

Paolo Abeni Feb. 28, 2018, 10:43 a.m. UTC
Currently, if IPv6 is enabled on top of an ipvlan device in l3
mode, the following warning message:

 Dropped {multi|broad}cast of type= [86dd]

is emitted every time that a RS is generated and dmseg is soon
filled with irrelevant messages. Replace pr_warn with pr_debug,
to preserve debuggability, without scaring the sysadmin.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
---
 drivers/net/ipvlan/ipvlan_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

David Miller Feb. 28, 2018, 5:19 p.m. UTC | #1
From: Paolo Abeni <pabeni@redhat.com>
Date: Wed, 28 Feb 2018 11:43:27 +0100

> Currently, if IPv6 is enabled on top of an ipvlan device in l3
> mode, the following warning message:
> 
>  Dropped {multi|broad}cast of type= [86dd]
> 
> is emitted every time that a RS is generated and dmseg is soon
> filled with irrelevant messages. Replace pr_warn with pr_debug,
> to preserve debuggability, without scaring the sysadmin.
> 
> Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Applied, than you.
diff mbox series

Patch

diff --git a/drivers/net/ipvlan/ipvlan_core.c b/drivers/net/ipvlan/ipvlan_core.c
index c1781e698b0b..17daebd19e65 100644
--- a/drivers/net/ipvlan/ipvlan_core.c
+++ b/drivers/net/ipvlan/ipvlan_core.c
@@ -506,8 +506,8 @@  static int ipvlan_process_outbound(struct sk_buff *skb)
 
 	/* In this mode we dont care about multicast and broadcast traffic */
 	if (is_multicast_ether_addr(ethh->h_dest)) {
-		pr_warn_ratelimited("Dropped {multi|broad}cast of type= [%x]\n",
-				    ntohs(skb->protocol));
+		pr_debug_ratelimited("Dropped {multi|broad}cast of type=[%x]\n",
+				     ntohs(skb->protocol));
 		kfree_skb(skb);
 		goto out;
 	}