diff options
author | Jesper Dangaard Brouer | 2020-04-27 18:37:43 +0200 |
---|---|---|
committer | David S. Miller | 2020-05-01 15:19:59 -0700 |
commit | 41a46913bee76d8493681442907ccd989ced2633 (patch) | |
tree | a6ab6ab899590f2074e5a0c32c122b791a26f67d /drivers | |
parent | 1bb694e208395816fee278ca46d2796727d3f4a9 (diff) |
net: fix skb_panic to output real address
In skb_panic() the real pointer values are really needed to diagnose
issues, e.g. data and head are related (to calculate headroom). The
hashed versions of the addresses doesn't make much sense here. The
patch use the printk specifier %px to print the actual address.
The printk documentation on %px:
https://www.kernel.org/doc/html/latest/core-api/printk-formats.html#unmodified-addresses
Fixes: ad67b74d2469 ("printk: hash addresses printed with %p")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions