Commit 8a03ef67 authored by Gal Pressman's avatar Gal Pressman Committed by David S. Miller

net: Fix double 0x prefix print in SKB dump

When printing netdev features %pNF already takes care of the 0x prefix,
remove the explicit one.

Fixes: 6413139d ("skbuff: increase verbosity when dumping skb data")
Signed-off-by: default avatarGal Pressman <gal@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 053c9e18
...@@ -832,7 +832,7 @@ void skb_dump(const char *level, const struct sk_buff *skb, bool full_pkt) ...@@ -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); ntohs(skb->protocol), skb->pkt_type, skb->skb_iif);
if (dev) if (dev)
printk("%sdev name=%s feat=0x%pNF\n", printk("%sdev name=%s feat=%pNF\n",
level, dev->name, &dev->features); level, dev->name, &dev->features);
if (sk) if (sk)
printk("%ssk family=%hu type=%u proto=%u\n", printk("%ssk family=%hu type=%u proto=%u\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment