aboutsummaryrefslogtreecommitdiff
path: root/tools/net/ynl/generated/devlink-user.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2023-11-29 15:24:52 +0100
committerPeter Zijlstra <peterz@infradead.org>2023-11-29 15:43:50 +0100
commit382c27f4ed28f803b1f1473ac2d8db0afc795a1b (patch)
tree35ab267cf3d1e5f5d548b169fc9a49965f903a6a /tools/net/ynl/generated/devlink-user.c
parent2cc14f52aeb78ce3f29677c2de1f06c0e91471ab (diff)
perf: Fix perf_event_validate_size()
Budimir noted that perf_event_validate_size() only checks the size of the newly added event, even though the sizes of all existing events can also change due to not all events having the same read_format. When we attach the new event, perf_group_attach(), we do re-compute the size for all events. Fixes: a723968c0ed3 ("perf: Fix u16 overflows") Reported-by: Budimir Markovic <markovicbudimir@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions