]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: Fix double 0x prefix print in SKB dump
authorGal Pressman <gal@nvidia.com>
Thu, 16 Dec 2021 09:28:25 +0000 (11:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2021 11:08:15 +0000 (11:08 +0000)
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 <gal@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c

index ba2f38246f07e5ba5a4f97922b4be33bdb8ad6d6..909db87d7383d25232e1f8ea7b7426b291a5d1c8 100644 (file)
@@ -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",