Skip to content

B4/flaky test#11397

Draft
mykyta5 wants to merge 2 commits intokernel-patches:bpf-next_basefrom
mykyta5:b4/flaky_test
Draft

B4/flaky test#11397
mykyta5 wants to merge 2 commits intokernel-patches:bpf-next_basefrom
mykyta5:b4/flaky_test

Conversation

@mykyta5
Copy link
Contributor

@mykyta5 mykyta5 commented Mar 13, 2026

No description provided.

mykyta5 added 2 commits March 13, 2026 14:06
# Describe the purpose of this series. The information you put here
# will be used by the project maintainer to make a decision whether
# your patches should be reviewed, and in what priority order. Please be
# very detailed and link to any relevant discussions or sites that the
# maintainer can review to better understand your proposed changes. If you
# only have a single patch in your series, the contents of the cover
# letter will be appended to the "under-the-cut" portion of the patch.

# Lines starting with # will be removed from the cover letter. You can
# use them to add notes or reminders to yourself. If you want to use
# markdown headers in your cover letter, start the line with ">#".

# You can add trailers to the cover letter. Any email addresses found in
# these trailers will be added to the addresses specified/generated
# during the b4 send stage. You can also run "b4 prep --auto-to-cc" to
# auto-populate the To: and Cc: trailers based on the code being
# modified.

Signed-off-by: Mykyta Yatsenko <[email protected]>

--- b4-submit-tracking ---
# This section is used internally by b4 prep for tracking purposes.
{
  "series": {
    "revision": 1,
    "change-id": "20260313-flaky_test-7c73d45ff68f",
    "prefixes": []
  }
}
tc8 captures mark and priority from every egress packet into global
variables. If a non-IP packet (e.g. ARP) goes out after the ICMP
packet, it overwrites the globals with its own mark/priority values,
causing serial_test_tc_netkit_scrub_type to see unexpected values.

Add an ETH_P_IP protocol check so only IPv4 packets update the
globals, matching the ICMP packet the test sends.

Fixes: 9c2745a6f952 ("selftests/bpf: Add netkit scrub test")
Signed-off-by: Mykyta Yatsenko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant