Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-dpdk: Fix possible memory leak configuring VF MAC address.
VLOG_WARN_BUF() is allocating memory for the error string and should e used if the configuration cannot continue and error is being returned so the caller has indication of releasing the pointer. Change to VLOG_WARN() to keep the logic that error is not being returned. Fixes: f4336f5 ("netdev-dpdk: Add option to configure VF MAC address.") Signed-off-by: Roi Dayan <roid@nvidia.com> Acked-by: Gaetan Rivet <gaetanr@nvidia.com> Acked-by: Eli Britstein <elibr@nvidia.com> Signed-off-by: Simon Horman <horms@ovn.org>
- Loading branch information