diff options
author | wenxu <wenxu@ucloud.cn> | 2020-05-30 07:54:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-31 02:57:58 +0200 |
commit | 05aa69e5cba61d8900970a364825f854401694ec (patch) | |
tree | 27046712fb95affd4887ef64fcc30f983302d88e /net/mptcp/protocol.c | |
parent | devinet: fix memleak in inetdev_init() (diff) | |
download | linux-05aa69e5cba61d8900970a364825f854401694ec.tar.xz linux-05aa69e5cba61d8900970a364825f854401694ec.zip |
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/mptcp/protocol.c')
0 files changed, 0 insertions, 0 deletions