From: Ben Pfaff Date: Fri, 30 Aug 2013 22:20:08 +0000 (-0700) Subject: ofproto: Correct comments. X-Git-Tag: v2.0~51 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=26a55d77a57f3402214d2a9d453001e0f227f140;hp=f8d5d1ab40b9189b13266a169d504c3421398710;p=cascardo%2Fovs.git ofproto: Correct comments. Signed-off-by: Ben Pfaff Acked-by: Ethan Jackson --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 67717e665..6ca4573fa 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2300,7 +2300,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. * @@ -3511,8 +3511,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. */