From: Gal Pressman Date: Thu, 16 Dec 2021 09:28:25 +0000 (+0200) Subject: net: Fix double 0x prefix print in SKB dump X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ff3d58592be4863b4fa2efa02637c2fbac047499;p=linux.git net: Fix double 0x prefix print in SKB dump [ Upstream commit 8a03ef676ade55182f9b05115763aeda6dc08159 ] When printing netdev features %pNF already takes care of the 0x prefix, remove the explicit one. Fixes: 6413139dfc64 ("skbuff: increase verbosity when dumping skb data") Signed-off-by: Gal Pressman Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 38d7dee4bbe9e..f7e003571a356 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -832,7 +832,7 @@ void skb_dump(const char *level, const struct sk_buff *skb, bool full_pkt) ntohs(skb->protocol), skb->pkt_type, skb->skb_iif); if (dev) - printk("%sdev name=%s feat=0x%pNF\n", + printk("%sdev name=%s feat=%pNF\n", level, dev->name, &dev->features); if (sk) printk("%ssk family=%hu type=%u proto=%u\n",