[ovs-git] [openvswitch/ovs] a8b629: ofproto: Fix double-unref of temporary rule when l...
GitHub
noreply at github.com
Fri Jan 26 20:30:52 UTC 2018
Branch: refs/heads/branch-2.9
Home: https://github.com/openvswitch/ovs
Commit: a8b629f86dacc66ea3b1c37dd1eb539128bcc40c
https://github.com/openvswitch/ovs/commit/a8b629f86dacc66ea3b1c37dd1eb539128bcc40c
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