aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-11-20 10:15:36 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-20 10:15:36 -0800
commitb2c851006386c1c5c0e55eab4a7f60da2a3e25b3 (patch)
treed23688b26ae372e3c8ad3cec89b10a90edc8f0e5 /net
parentnet_sched: sch_fq: avoid calling ktime_get_ns() if not needed (diff)
downloadlinux-dev-b2c851006386c1c5c0e55eab4a7f60da2a3e25b3.tar.xz
linux-dev-b2c851006386c1c5c0e55eab4a7f60da2a3e25b3.zip
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@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/route.c2
1 files changed, 1 insertions, 1 deletions
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