ofproto: Add extra comments and checking for expiring a pending rule.
[openvswitch] / ofproto / ofproto-provider.h
index afd17a6019fa1e1e9733f0066fd5f9f3143ede15..f22c9f61da021e67f76f374a3442adc448e34ffd 100644 (file)
@@ -388,6 +388,9 @@ struct ofproto_class {
      *   - Call ofproto_rule_expire() for each OpenFlow flow that has reached
      *     its hard_timeout or idle_timeout, to expire the flow.
      *
+     *     (But rules that are part of a pending operation, e.g. rules for
+     *     which ->pending is true, may not expire.)
+     *
      * Returns 0 if successful, otherwise a positive errno value. */
     int (*run)(struct ofproto *ofproto);