[ovs-dev] [PATCH] bridge: Fix null dereference on ct_timeout_policy record

William Tu u9012063 at gmail.com
Sat Jun 27 23:41:19 UTC 2020


On Fri, Jun 26, 2020 at 11:21:06AM -0700, Yi-Hung Wei wrote:
> Accoridng to vswitch.ovsschema, each CT_Zone record may have
> zero or one associcated CT_Timeout_policy.  Thus, this patch
> checks if ovsrec_ct_timeout_policy exist before accesses the
> record.
> 
> VMWare-BZ: 2585825
> Fixes: 45339539f69d ("ovs-vsctl: Add conntrack zone commands.")
> Fixes: 993cae678bca ("ofproto-dpif: Consume CT_Zone, and CT_Timeout_Policy tables")
> Reported-by: Yang Song <yangsong at vmware.com>
> Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
> ---
> Travis CI: https://travis-ci.org/github/YiHungWei/ovs/builds/699829754
> 
> Please backport this fix to branch-2.13.

Thanks, applied to master and 2.13.
William


More information about the dev mailing list