ofproto: Fix comment on send_packet_in().
authorBen Pfaff <blp@nicira.com>
Fri, 4 Feb 2011 23:34:45 +0000 (15:34 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 16 Mar 2011 21:57:56 +0000 (14:57 -0700)
ofproto/ofproto.c

index 97f140e..9e107a7 100644 (file)
@@ -5007,7 +5007,8 @@ schedule_packet_in(struct ofconn *ofconn, struct dpif_upcall *upcall,
  * OFPT_PACKET_IN message to each OpenFlow controller as necessary according to
  * their individual configurations.
  *
- * Takes ownership of 'packet'. */
+ * If 'clone' is true, the caller retains ownership of 'upcall->packet'.
+ * Otherwise, ownership is transferred to this function. */
 static void
 send_packet_in(struct ofproto *ofproto, struct dpif_upcall *upcall,
                const struct flow *flow, bool clone)