diff options
author | 2025-05-16 13:59:27 +0200 | |
---|---|---|
committer | 2025-05-19 16:06:42 -0700 | |
commit | a462903fa22541f212134fba81084315ad843e6e (patch) | |
tree | 38f2fb38ee8aff7714921549adb3ca8a9beeebe6 /lib/test_overflow.c | |
parent | Merge tag 'ovpn-net-next-20250515' of https://github.com/OpenVPN/ovpn-net-next (diff) | |
download | wireguard-linux-a462903fa22541f212134fba81084315ad843e6e.tar.xz wireguard-linux-a462903fa22541f212134fba81084315ad843e6e.zip |
net: netlink: reduce extack cookie size
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.)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20250516115927.38209-2-johannes@sipsolutions.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions