summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-05-10 22:29:04 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-05-12 17:15:00 +0300
commitce372e869f9f492f3d5aa9a0ae75ed52c61d2d6f (patch)
tree566478e30be01de48ad47efdc0adc6847ffa0a94 /scripts
parentb62b29e6de6711f5918940aa6ff2bbab6d6af502 (diff)
downloadlinux-ce372e869f9f492f3d5aa9a0ae75ed52c61d2d6f.tar.xz
net: shaper: reject QUEUE scope handle with missing id
net_shaper_parse_handle() does not enforce that the user provides the handle ID. For NODE the ID defaults to UNSPEC for all other cases it defaults to 0. For NETDEV 0 is the only option. For QUEUE defaulting to 0 makes less intuitive sense. Specifically because the behavior should (IMHO) be the same for all cases where there may be more than one ID (QUEUE and NODE). We should either document this as intentional or reject. I picked the latter with no strong conviction. Fixes: 4b623f9f0f59 ("net-shapers: implement NL get operation") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://patch.msgid.link/20260510192904.3987113-11-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions