All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
	Johannes Berg <johannes.berg@intel.com>
Subject: Re: [PATCH net-next] net: netlink: reduce extack cookie size
Date: Fri, 16 May 2025 16:37:09 -0700	[thread overview]
Message-ID: <20250516163709.5cbd66bc@kernel.org> (raw)
In-Reply-To: <20250516115927.38209-2-johannes@sipsolutions.net>

On Fri, 16 May 2025 13:59:27 +0200 Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@intel.com>
> 
> Seems like the extack cookie hasn't found any users outside
> of wireless, which always uses nl_set_extack_cookie_u64().
> Thus, allocating 20 bytes for it is pointless, reduce that
> to 8 bytes, and add a BUILD_BUG_ON() to ensure it's enough
> (obviously it is, for a u64, but in case it changes again.)

Reviewed-by: Jakub Kicinski <kuba@kernel.org>

  reply	other threads:[~2025-05-16 23:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-16 11:59 [PATCH net-next] net: netlink: reduce extack cookie size Johannes Berg
2025-05-16 23:37 ` Jakub Kicinski [this message]
2025-05-20  3:20 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250516163709.5cbd66bc@kernel.org \
    --to=kuba@kernel.org \
    --cc=johannes.berg@intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.