[ovs-git] [openvswitch/ovs] 7f7160: dpif-netdev: fix memory leak in dpcls subtable set...
Harry van Haaren
noreply at github.com
Mon Aug 16 15:42:42 UTC 2021
Branch: refs/heads/branch-2.16
Home: https://github.com/openvswitch/ovs
Commit: 7f71602d0e51c50e33dc496e2aa1dfbfc75bbbf2
https://github.com/openvswitch/ovs/commit/7f71602d0e51c50e33dc496e2aa1dfbfc75bbbf2
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>
Commit: 80254376e3e71b7d6ab07cfa447d130706f83cd1
https://github.com/openvswitch/ovs/commit/80254376e3e71b7d6ab07cfa447d130706f83cd1
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 dpif and mfex commands
This patch fixes a memory leak in the commands for DPIF and MFEX
get and set. In order to operate the commands require a pmd_list,
which is currently not freed after it has been used. This issue
was identified by a static analysis tool.
Fixes: 3d8f47bc ("dpif-netdev: Add command line and function pointer for miniflow extract")
Fixes: abb807e2 ("dpif-netdev: Add command to switch dpif implementation.")
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>
Compare: https://github.com/openvswitch/ovs/compare/580e79420733...80254376e3e7
More information about the git
mailing list