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 c0a9d26c06cebf2a315e0a6b6df4704050418ee8..c4ddbc5f01fc902049405c7d3fc63c3d927e6226 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