]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: tc: add ConnTrack procfs kconfig
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Thu, 13 Jul 2023 21:16:46 +0000 (23:16 +0200)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Mon, 2 Oct 2023 15:20:32 +0000 (17:20 +0200)
commitc24562916aaae46a43a3fb8b0bd497058d3c927e
treed40222a0b443f0a094c5d9d129da1dfbd0e3aae7
parent4b0dd1a4a6971bbe0b593f950017e794b8c5f90e
selftests: tc: add ConnTrack procfs kconfig

BugLink: https://bugs.launchpad.net/bugs/2037005
commit 031c99e71fedcce93b6785d38b7d287bf59e3952 upstream.

When looking at the TC selftest reports, I noticed one test was failing
because /proc/net/nf_conntrack was not available.

  not ok 373 3992 - Add ct action triggering DNAT tuple conflict
   Could not match regex pattern. Verify command output:
  cat: /proc/net/nf_conntrack: No such file or directory

It is only available if NF_CONNTRACK_PROCFS kconfig is set. So the issue
can be fixed simply by adding it to the list of required kconfig.

Fixes: e46905641316 ("tc-testing: add test for ct DNAT tuple collision")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/netdev/0e061d4a-9a23-9f58-3b35-d8919de332d7@tessares.net/T/
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Tested-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20230713-tc-selftests-lkft-v1-3-1eb4fd3a96e7@tessares.net
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
tools/testing/selftests/tc-testing/config