[ovs-git] [openvswitch/ovs] 8add6d: ofproto: Fix double-unref of temporary rule when l...
GitHub
noreply at github.com
Fri Jan 26 20:31:02 UTC 2018
Branch: refs/heads/branch-2.7
Home: https://github.com/openvswitch/ovs
Commit: 8add6d8c14597c07a28fda92aeaf9a89ce9baac2
https://github.com/openvswitch/ovs/commit/8add6d8c14597c07a28fda92aeaf9a89ce9baac2
Author: Ben Pfaff <blp at ovn.org>
Date: 2018-01-26 (Fri, 26 Jan 2018)
Changed paths:
M ofproto/ofproto-provider.h
M ofproto/ofproto.c
Log Message:
-----------
ofproto: Fix double-unref of temporary rule when learning.
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 git
mailing list