Skip to content

Commit 8a03ef6

Browse files
gal-pressmandavem330
authored andcommitted
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: 6413139 ("skbuff: increase verbosity when dumping skb data") Signed-off-by: Gal Pressman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 053c9e1 commit 8a03ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/core/skbuff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ void skb_dump(const char *level, const struct sk_buff *skb, bool full_pkt)
832832
ntohs(skb->protocol), skb->pkt_type, skb->skb_iif);
833833

834834
if (dev)
835-
printk("%sdev name=%s feat=0x%pNF\n",
835+
printk("%sdev name=%s feat=%pNF\n",
836836
level, dev->name, &dev->features);
837837
if (sk)
838838
printk("%ssk family=%hu type=%u proto=%u\n",

0 commit comments

Comments
 (0)