From 2c00fecf5004707672dfd163bdc7907334b4757d Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 4 Feb 2011 15:34:45 -0800 Subject: [PATCH] ofproto: Fix comment on send_packet_in(). --- ofproto/ofproto.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.43.0