From: Jarno Rajahalme Date: Thu, 24 Apr 2014 15:21:49 +0000 (-0700) Subject: ofproto: Make taking rule reference conditional on lookup. X-Git-Tag: sliver-openvswitch-2.2.90-1~3^2~82 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1a7c0cd710e19db3ff85606dbfd5fdad964a1eea;hp=1a7c0cd710e19db3ff85606dbfd5fdad964a1eea;p=sliver-openvswitch.git ofproto: Make taking rule reference conditional on lookup. Prior to this paths the rule lookup functions have always taken a reference on the found rule before returning. Make this conditional, so that unnecessary refs/unrefs can be avoided in a later patch. Signed-off-by: Jarno Rajahalme Acked-by: Ethan Jackson ---