aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/lib/ynl.py
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2023-10-21 11:27:02 +0000
committerJakub Kicinski <[email protected]>2023-10-23 23:11:53 +0000
commitf862ed2d0bf0cf51c28c1a69e3c2a1558d5a2978 (patch)
treed406a76cacb5a204516cc2f0577156289957a55b /tools/net/ynl/lib/ynl.py
parenttls: don't reset prot->aad_size and prot->tail_size for TLS_HW (diff)
downloadkernel-f862ed2d0bf0cf51c28c1a69e3c2a1558d5a2978.tar.gz
kernel-f862ed2d0bf0cf51c28c1a69e3c2a1558d5a2978.zip
genetlink: don't merge dumpit split op for different cmds into single iter
Currently, split ops of doit and dumpit are merged into a single iter item when they are subsequent. However, there is no guarantee that the dumpit op is for the same cmd as doit op. Fix this by checking if cmd is the same for both. This problem does not occur in existing families. Signed-off-by: Jiri Pirko <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions