diff options
| author | Xin Long <[email protected]> | 2022-12-08 16:56:10 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-12-12 10:14:03 +0000 |
| commit | 2b85144ab36e0e870f59b5ae55e299179eb8cdb8 (patch) | |
| tree | 37beb5cb553e53e72262edfa045ff00a04768ab7 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | openvswitch: return NF_ACCEPT when OVS_CT_NAT is not set in info nat (diff) | |
| download | kernel-2b85144ab36e0e870f59b5ae55e299179eb8cdb8.tar.gz kernel-2b85144ab36e0e870f59b5ae55e299179eb8cdb8.zip | |
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 <[email protected]>
Acked-by: Aaron Conole <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
