[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20181120.101610.1175703050417260103.davem@davemloft.net>
Date: Tue, 20 Nov 2018 10:16:10 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: netdev@...r.kernel.org
Subject: [PATCH] ipv4: Don't try to print ASCII of link level header in
martian dumps.
This has no value whatsoever.
Signed-off-by: David S. Miller <davem@...emloft.net>
---
net/ipv4/route.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.19.1
Powered by blists - more mailing lists