ofproto: Factor out check on rule->send_flow_removed in send_flow_removed().
authorBen Pfaff <blp@nicira.com>
Fri, 26 Mar 2010 21:37:16 +0000 (14:37 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 1 Apr 2010 21:41:07 +0000 (14:41 -0700)
commit121f205298ec92265fb769f7e27103c279dd54f1
tree8fb7a58eaa1398e81e5a06596500ad26da63cd7a
parentf275604bbee23976599c21e78130bba307f5d2a6
ofproto: Factor out check on rule->send_flow_removed in send_flow_removed().

There's no point in even iterating over the list of OpenFlow connections if
rule->send_flow_removed is false, since we'll never actually do anything
in that case anyway.
ofproto/ofproto.c