ipv4: Don't try to print ASCII of link level header in martian dumps.
authorDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 18:15:36 +0000 (10:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 18:15:36 +0000 (10:15 -0800)
This has no value whatsoever.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c

index c0a9d26..c4ddbc5 100644 (file)
@@ -1677,7 +1677,7 @@ static void ip_handle_martian_source(struct net_device *dev,
                        print_hex_dump(KERN_WARNING, "ll header: ",
                                       DUMP_PREFIX_OFFSET, 16, 1,
                                       skb_mac_header(skb),
-                                      dev->hard_header_len, true);
+                                      dev->hard_header_len, false);
                }
        }
 #endif