nickcooper-zhangtonghao <[email protected]> writes:

> If users configure the 'vhost-sock-dir' for dpdk, the memory
> allocated by xstrdup(ovs_rundir()) is not freed. This patch
> allows the process_vhost_flags to xstrdup() for val or
> default_val according to configuration and the caller must
> free new_val when it is no longer needed.
>
> Fixes: 01961bbdd34a ("dpdk: New module with some code from netdev-dpdk.")
> CC: Daniele Di Proietto <[email protected]>
> Signed-off-by: nickcooper-zhangtonghao <[email protected]>
> ---

Great catch!

Reviewed-by: Aaron Conole <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to