summaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-02-04 15:34:45 -0800
committerBen Pfaff <blp@nicira.com>2011-03-16 14:57:56 -0700
commit2c00fecf5004707672dfd163bdc7907334b4757d (patch)
treec9fc1aa4ecc03cf93c9831607ed91eb63547bd7a /ofproto
parentc7af6a8de73b2c4d2c65c0b66a752ed4c7e51755 (diff)
downloadopenvswitch-2c00fecf5004707672dfd163bdc7907334b4757d.tar.gz
ofproto: Fix comment on send_packet_in().
Diffstat (limited to 'ofproto')
-rw-r--r--ofproto/ofproto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index 97f140eea..9e107a71a 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)