Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-offload-dpdk: Initialize s_tnl dynamic string.
The 's_tnl' member in flow_patterns and flow_actions should be to set to DS_EMPTY_INITIALIZER, to be consistent with dynamic string initializations. Also, there's a potential memory leak of flow_patterns->s_tnl. Fix this by destroying s_tnl in free_flow_patterns(). Fixes: 507d20e ("netdev-offload-dpdk: Support vports flows offload.") Fixes: be56e06 ("netdev-offload-dpdk: Support tunnel pop action.") Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Acked-by: Gaetan Rivet <grive@u256.net> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
- Loading branch information