commit | 05aa69e5cba61d8900970a364825f854401694ec | [log] [tgz] |
---|---|---|
author | wenxu <wenxu@ucloud.cn> | Sat May 30 13:54:51 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat May 30 17:57:58 2020 -0700 |
tree | 27046712fb95affd4887ef64fcc30f983302d88e | |
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>