summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorVictor Nogueira <victor@mojatatu.com>2026-09-19 20:04:28 -0300
committerPaolo Abeni <pabeni@redhat.com>2026-09-22 12:46:46 +0200
commit4ba61bfd4998074322cf2f34e6338151a1456ef6 (patch)
treee61b45e6b57efd5e980341147224542e3492d8ef /include/linux/debugobjects.h
parentf09db8b83e836f9554ec8e0f985c70699b3cb83f (diff)
net/sched: add get_fill_size() to the five actions that lack one
act_simple, act_mpls, act_nat, act_skbmod and act_connmark each have a tcf_*_dump but no .get_fill_size callback, so tcf_action_fill_size budgets only the shared attributes and omits the per-action TCA_*_PARMS and option bytes the dump emits. Add a callback to each, sized from the attributes its dump emits. Size every optional attribute unconditionally: reading the current flags to size it conditionally would race a concurrent replace, which can flip the attributes between sizing and dumping. Reported-by: Sashiko <sashiko-bot@kernel.org> Link: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260824153903.4143642-1-victor@mojatatu.com Co-developed-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Victor Nogueira <victor@mojatatu.com> Link: https://patch.msgid.link/QDISC-RYTB.v1.20260918093205@mojatatu.com.2 Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions