aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2024-02-26 13:40:18 -0800
committerJakub Kicinski <[email protected]>2024-02-28 15:24:34 -0800
commitb6c65eb20ffa8e3bd89f551427dbeee2876d72ca (patch)
tree74e06993edd7a30d8838958972572644cfe03c7a /scripts/generate_rust_analyzer.py
parent4adfc94d4aeca1177e1188ba83c20ed581523fe1 (diff)
tools: ynl: fix handling of multiple mcast groups
We never increment the group number iterator, so all groups get recorded into index 0 of the mcast_groups[] array. As a result YNL can only handle using the last group. For example using the "netdev" sample on kernel with page pool commands results in: $ ./samples/netdev YNL: Multicast group 'mgmt' not found Most families have only one multicast group, so this hasn't been noticed. Plus perhaps developers usually test the last group which would have worked. Fixes: 86878f14d71a ("tools: ynl: user space helpers") Reviewed-by: Donald Hunter <[email protected]> Acked-by: Nicolas Dichtel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions