[ovs-dev] [connmgr 02/15] ofproto: Fix comment on send_packet_in().
Ben Pfaff
blp at nicira.com
Tue Mar 15 18:36:46 UTC 2011
---
ofproto/ofproto.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index 97f140e..9e107a7 100644
--- a/ofproto/ofproto.c
+++ b/ofproto/ofproto.c
@@ -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)
--
1.7.1
More information about the dev
mailing list