aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBudimir Markovic <[email protected]>2023-08-24 01:49:05 -0700
committerJakub Kicinski <[email protected]>2023-08-25 18:57:54 -0700
commitb3d26c5702c7d6c45456326e56d2ccf3f103e60f (patch)
tree2eccdcba9fa443c15c89918ca1a3c99e0532beb5 /tools/perf/scripts/python
parentc4413a20fa6d7c4888009fb7dd391685f196cd36 (diff)
net/sched: sch_hfsc: Ensure inner classes have fsc curve
HFSC assumes that inner classes have an fsc curve, but it is currently possible for classes without an fsc curve to become parents. This leads to bugs including a use-after-free. Don't allow non-root classes without HFSC_FSC to become parents. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Reported-by: Budimir Markovic <[email protected]> Signed-off-by: Budimir Markovic <[email protected]> Acked-by: Jamal Hadi Salim <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions