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

Ben Pfaff blp at ovn.org
Fri Jan 26 20:31:15 UTC 2018


On Fri, Jan 26, 2018 at 07:40:37AM -0800, William Tu wrote:
> 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>

Thanks, I applied this to master and as far back as branch-2.7.


More information about the dev mailing list