diff options
author | 2025-05-06 16:28:54 +0200 | |
---|---|---|
committer | 2025-05-07 16:51:02 -0700 | |
commit | 6beb6835c1fbb3f676aebb51a5fee6b77fed9308 (patch) | |
tree | eaddecca5f0f60b21dee45b96aa380914c2f2074 /scripts/lib | |
parent | Merge tag 'wireless-2025-05-06' of https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless (diff) | |
download | linux-rng-6beb6835c1fbb3f676aebb51a5fee6b77fed9308.tar.xz linux-rng-6beb6835c1fbb3f676aebb51a5fee6b77fed9308.zip |
openvswitch: Fix unsafe attribute parsing in output_userspace()
This patch replaces the manual Netlink attribute iteration in
output_userspace() with nla_for_each_nested(), which ensures that only
well-formed attributes are processed.
Fixes: ccb1352e76cf ("net: Add Open vSwitch kernel components.")
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Acked-by: Ilya Maximets <i.maximets@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>
Link: https://patch.msgid.link/0bd65949df61591d9171c0dc13e42cea8941da10.1746541734.git.echaudro@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions