summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-05-09 17:47:24 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2023-05-10 10:31:07 +0300
commit3acf8f6c14d0e42b889738d63b6d9cb63348fc94 (patch)
tree96a9d371b24f32348eeea25d192fd12ac81edbe9 /net
parent90ab51226d52ad61e5ff175b572e08046b1b0a99 (diff)
downloadlinux-3acf8f6c14d0e42b889738d63b6d9cb63348fc94.tar.xz
selftests: nft_flowtable.sh: check ingress/egress chain too
Make sure flowtable interacts correctly with ingress and egress chains, i.e. those get handled before and after flow table respectively. Adds three more tests: 1. repeat flowtable test, but with 'ip dscp set cs3' done in inet forward chain. Expect that some packets have been mangled (before flowtable offload became effective) while some pass without mangling (after offload succeeds). 2. repeat flowtable test, but with 'ip dscp set cs3' done in veth0:ingress. Expect that all packets pass with cs3 dscp field. 3. same as 2, but use veth1:egress. Expect the same outcome. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions