diff mbox series

ipv4: Don't try to print ASCII of link level header in martian dumps.

Message ID 20181120.101610.1175703050417260103.davem@davemloft.net
State Accepted, archived
Delegated to: David Miller
Headers show
Series ipv4: Don't try to print ASCII of link level header in martian dumps. | expand

Commit Message

David Miller Nov. 20, 2018, 6:16 p.m. UTC
This has no value whatsoever.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 net/ipv4/route.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index c0a9d26c06ce..c4ddbc5f01fc 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -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