[ovs-dev] [PATCH] use double postponing to free subtables.

Ben Pfaff blp at ovn.org
Mon Apr 15 19:38:38 UTC 2019


On Mon, Apr 15, 2019 at 06:55:22PM +0800, fuzhantao wrote:
> From: Zhantao Fu <fuzhantao at huawei.com>
> 
> Now the subtable in classifier/dpcls is postponed by destroy_subtable before move itself out of cls->subtables(pvector).It will raise use-after-free problem.
> 
> use double postponing to free subtable
> 
> Signed-off-by: Zhantao Fu <fuzhantao at huawei.com>

In addition to Ilya's comments, I see that you've posted this patch a
number of times today.  Maybe that was just a mistake; all of us make
mistakes sometimes.  But maybe these were meant to be different versions
of the patch.  If so, then please include a version number in the patch
header, e.g. [PATCH v2].


More information about the dev mailing list