git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c7af6a8
)
ofproto: Fix comment on send_packet_in().
author
Ben Pfaff
<blp@nicira.com>
Fri, 4 Feb 2011 23:34:45 +0000
(15:34 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 16 Mar 2011 21:57:56 +0000
(14:57 -0700)
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
97f140e
..
9e107a7
100644
(file)
--- 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)