ipvlan: egress mcast packets are not exceptional
authorPaolo Abeni <pabeni@redhat.com>
Wed, 28 Feb 2018 10:43:27 +0000 (11:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2020 08:07:41 +0000 (09:07 +0100)
commit cccc200fcaf04cff4342036a72e51d6adf6c98c1 upstream.

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ipvlan/ipvlan_core.c

index d17dc99..63b1cd0 100644 (file)
@@ -446,8 +446,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;
        }