diff options
| author | 2026-05-12 15:52:44 +0000 | |
|---|---|---|
| committer | 2026-05-14 16:49:26 -0700 | |
| commit | ff205bf8c55451f95300bceed9779b647205a850 (patch) | |
| tree | 466266c1be1485c962f572b081764203a73f373b /scripts/Makefile.thinlto | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
netlink: add one debug check in nla_nest_end()
Add a DEBUG_NET_WARN_ON_ONCE(diff > U16_MAX)
to warn if the kernel sends corrupted nested attribute
to user space.
Offenders can be converted to nla_nest_end_safe().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260512155244.4137851-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
