diff options
author | wenxu <wenxu@ucloud.cn> | 2020-05-30 13:54:51 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-30 17:57:58 -0700 |
commit | 05aa69e5cba61d8900970a364825f854401694ec (patch) | |
tree | 27046712fb95affd4887ef64fcc30f983302d88e /net/netfilter/ipvs/ip_vs_core.c | |
parent | 1b49cd71b52403822731dc9f283185d1da355f97 (diff) |
net/sched: act_ct: add nat mangle action only for NAT-conntrack
Currently add nat mangle action with comparing invert and orig tuple.
It is better to check IPS_NAT_MASK flags first to avoid non necessary
memcmp for non-NAT conntrack.
Signed-off-by: wenxu <wenxu@ucloud.cn>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_core.c')
0 files changed, 0 insertions, 0 deletions