[ovs-dev] [PATCH 1/5] ofproto: Fix double-unref of temporary rule when learning.

William Tu u9012063 at gmail.com
Fri Jan 26 15:40:37 UTC 2018


On Thu, Jan 25, 2018 at 3:39 PM, Ben Pfaff <blp at ovn.org> wrote:
> When ofproto_flow_mod_init() accepts a rule, it takes ownership of it and
> either unrefs it on error or transfers ownership to the struct it
> initializes on success, but ofproto_flow_mod_init_for_learn() was unref-ing
> it a second time if it reported an error.
>
> Signed-off-by: Ben Pfaff <blp at ovn.org>
> ---

Acked-by: William Tu <u9012063 at gmail.com>


More information about the dev mailing list