• Daniel Borkmann's avatar
    selftests/bpf: Extend tcx tests to cover late tcx_entry release · 5f1d18de
    Daniel Borkmann authored
    Add a test case which replaces an active ingress qdisc while keeping the
    miniq in-tact during the transition period to the new clsact qdisc.
    
      # ./vmtest.sh -- ./test_progs -t tc_link
      [...]
      ./test_progs -t tc_link
      [    3.412871] bpf_testmod: loading out-of-tree module taints kernel.
      [    3.413343] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
      #332     tc_links_after:OK
      #333     tc_links_append:OK
      #334     tc_links_basic:OK
      #335     tc_links_before:OK
      #336     tc_links_chain_classic:OK
      #337     tc_links_chain_mixed:OK
      #338     tc_links_dev_chain0:OK
      #339     tc_links_dev_cleanup:OK
      #340     tc_links_dev_mixed:OK
      #341     tc_links_ingress:OK
      #342     tc_links_invalid:OK
      #343     tc_links_prepend:OK
      #344     tc_links_replace:OK
      #345     tc_links_revision:OK
      Summary: 14/0 PASSED, 0 SKIPPED, 0 FAILED
    Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
    Cc: Martin KaFai Lau <martin.lau@kernel.org>
    Link: https://lore.kernel.org/r/20240708133130.11609-2-daniel@iogearbox.netSigned-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
    5f1d18de
config 2.17 KB