summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2022-12-08 19:56:09 +0300
committerDavid S. Miller <davem@davemloft.net>2022-12-12 13:14:03 +0300
commit7795928921332fdd52c33eab73f1280d5e58678a (patch)
treed5f3262fb9b9277cedf8285e1fe6d6bd05ddc83e /tools/perf/scripts/python/libxed.py
parentbf14f4923d516d77320500461c0692c9d4480c30 (diff)
downloadlinux-7795928921332fdd52c33eab73f1280d5e58678a.tar.xz
openvswitch: return NF_ACCEPT when OVS_CT_NAT is not set in info nat
Either OVS_CT_SRC_NAT or OVS_CT_DST_NAT is set, OVS_CT_NAT must be set in info->nat. Thus, if OVS_CT_NAT is not set in info->nat, it will definitely not do NAT but returns NF_ACCEPT in ovs_ct_nat(). This patch changes nothing funcational but only makes this return earlier in ovs_ct_nat() to keep consistent with TC's processing in tcf_ct_act_nat(). Reviewed-by: Saeed Mahameed <saeed@kernel.org> Acked-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions