[ovs-git] [openvswitch/ovs] fa2a85: dpif-netdev: fix memory leak in dpcls subtable set...

Harry van Haaren noreply at github.com
Mon Aug 16 15:43:12 UTC 2021


  Branch: refs/heads/branch-2.14
  Home:   https://github.com/openvswitch/ovs
  Commit: fa2a85ce169c7814753d065e39cb180e5007cf4d
      https://github.com/openvswitch/ovs/commit/fa2a85ce169c7814753d065e39cb180e5007cf4d
  Author: Harry van Haaren <harry.van.haaren at intel.com>
  Date:   2021-08-16 (Mon, 16 Aug 2021)

  Changed paths:
    M lib/dpif-netdev.c

  Log Message:
  -----------
  dpif-netdev: fix memory leak in dpcls subtable set command

This patch fixes a memory leak when the command
"dpif-netdev/subtable-lookup-prio-set" is run, the pmd_list
required to iterate the PMD threads was not being freed.
This issue was identified by a static analysis tool.

Fixes: 3d018c3e ("dpif-netdev: Add subtable lookup prio set command.")
Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
Acked-by: Kevin Traynor <ktraynor at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>




More information about the git mailing list