From 2509616ee3bb811ae5c50e16a74da332ba39d28d Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 30 Aug 2013 15:20:08 -0700 Subject: [PATCH] ofproto: Correct comments. Signed-off-by: Ben Pfaff Acked-by: Ethan Jackson --- ofproto/ofproto.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index bd1f2c1ab..3d5df24d9 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2311,7 +2311,7 @@ ofproto_rule_destroy__(struct rule *rule) } /* This function allows an ofproto implementation to destroy any rules that - * remain when its ->destruct() function is called.. This function implements + * remain when its ->destruct() function is called. This function implements * steps 4.4 and 4.5 in the section titled "Rule Life Cycle" in * ofproto-provider.h. * @@ -3528,8 +3528,7 @@ evict_rule_from_table(struct ofproto *ofproto, struct oftable *table) * error code on failure, or OFPROTO_POSTPONE if the operation cannot be * initiated now but may be retried later. * - * Upon successful return, takes ownership of 'fm->ofpacts'. On failure, - * ownership remains with the caller. + * The caller retains ownership of 'fm->ofpacts'. * * 'ofconn' is used to retrieve the packet buffer specified in ofm->buffer_id, * if any. */ -- 2.47.0