summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-11-10 10:15:12 -0800
committerJakub Kicinski <kuba@kernel.org>2026-11-10 10:15:13 -0800
commit328a8866c459173c2346ccd213faec499320e6bf (patch)
tree4a4d70664d651c47a75122b85b9d7dde4bea1136 /tools/perf/scripts/python/bin
parentd7900fa51642fbc2a5a03354238e71050a7d391d (diff)
parent367a50c3233e3f52fee481af025089594cb7851d (diff)
Merge branch 'net-sched-fix-short-skb-metadata-and-namespace-boundaries'
Jamal Hadi Salim says: ==================== net/sched: fix short-skb metadata and namespace boundaries This series fixes three independent boundary problems in net/sched, and covers the third one with tc-testing cases. 1/4 act_ife: encode a configured zero metadata value. The u32 and u16 presence callbacks reserve an 8-byte TLV for a configured zero value, but the encoders returned without writing it, leaking stale skb headroom bytes. 2/4 act_ife: require a full Ethernet header on egress. An undersized linear head can make the encoder read past the end of the skb data. 3/4 sch_teql: reject qdiscs from another network namespace. The global TEQL master lives in the initial netns; a qdisc created in another netns could still mutate the master's MTU and flags. 4/4 selftests: tc-testing: cover each of the two teql attach rejections on its own. Case 124e moves to the initial namespace, where it creates its own device, so only the root-only check can refuse it; a root attach from the test namespace is refused only by the namespace check. Origins: 1/4: reported by shaos <shawnq1@163.com> with a reproducer, which was reproduced and verified in our test environment. 2/4: found by Sashiko (nipa and gemini) while reviewing Victor Nogueira's parent act_ife patchset; independently reported by shaos <shawnq1@163.com> with a reproducer, which was verified in our test environment. 3/4: reported by shaos <shawnq1@163.com> with a reproducer, which was reproduced and verified in our test environment. 4/4: follows Sashiko (nipa) reviews of the v2 posting, which pointed out that a single case cannot witness both teql attach rejections. The four patches are independent. They target net and the three fixes carry a stable nomination; the test cases do not. They are sent together because they share the short-skb and namespace-boundary review context. ==================== Link: https://patch.msgid.link/SER-NSBD.v3.r0.20261103064310@mojatatu.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions