summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2022-12-08 19:56:10 +0300
committerDavid S. Miller <davem@davemloft.net>2022-12-12 13:14:03 +0300
commit2b85144ab36e0e870f59b5ae55e299179eb8cdb8 (patch)
tree37beb5cb553e53e72262edfa045ff00a04768ab7 /security
parent7795928921332fdd52c33eab73f1280d5e58678a (diff)
downloadlinux-2b85144ab36e0e870f59b5ae55e299179eb8cdb8.tar.xz
openvswitch: return NF_DROP when fails to add nat ext in ovs_ct_nat
When it fails to allocate nat ext, the packet should be dropped, like the memory allocation failures in other places in ovs_ct_nat(). This patch changes to return NF_DROP when fails to add nat ext before doing NAT in ovs_ct_nat(), also it would keep consistent with tc action ct' processing in tcf_ct_act_nat(). Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Aaron Conole <aconole@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions