Re: [PATCH net-next] net: Convert %pK back to %p
Jakub Kicinski <[email protected]> Mon, 20 Jul 2026 17:39:26 -0700
| Newsgroups | org.kernel.vger.linux-sctp,org.kernel.vger.linux-can,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 6 Jul 2026 09:38:24 +0200 Sebastian Andrzej Siewior wrote:
> This is a revert of commit 71338aa7d050c ("net: convert %p usage to
> %pK") which is from 2011. Back then the default behaviour for %p was to
> print the pointer. The %pK modifier was introduced to be able to control
> the behaviour of specific pointer output without changing the behaviour
> of %p for everyone. It was dedicated to avoid leaking pointers via
> /proc.
> There was also the idea to remove the check from formatting the string
> and move to the open callback (of the /proc file) with some helpers but
> this did not happen.
The netdev patch queue has overflown.
If these patches are still relevant you'll have to repost them.