[ovs-dev] [PATCH v3 1/7] classifier: Fix comment.

Jarno Rajahalme jrajahalme at nicira.com
Fri Aug 7 00:37:55 UTC 2015


Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
---
 lib/classifier.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/classifier.c b/lib/classifier.c
index fc6a1f5..0a6855e 100644
--- a/lib/classifier.c
+++ b/lib/classifier.c
@@ -283,11 +283,10 @@ cls_rule_is_catchall(const struct cls_rule *rule)
     return minimask_is_catchall(rule->match.mask);
 }
 
-/* Makes rule invisible after 'version'.  Once that version is made invisible
- * (by changing the version parameter used in lookups), the rule should be
- * actually removed via ovsrcu_postpone().
+/* Makes 'rule' invisible in 'remove_version'.  Once that version is used in
+ * lookups, the caller should remove 'rule' via ovsrcu_postpone().
  *
- * 'rule_' must be in a classifier. */
+ * 'rule' must be in a classifier. */
 void
 cls_rule_make_invisible_in_version(const struct cls_rule *rule,
                                    cls_version_t remove_version)
-- 
2.1.4




More information about the dev mailing list