From: Ben Pfaff Date: Fri, 4 Feb 2011 23:34:45 +0000 (-0800) Subject: ofproto: Fix comment on send_packet_in(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c00fecf5004707672dfd163bdc7907334b4757d;p=openvswitch ofproto: Fix comment on send_packet_in(). --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 97f140ee..9e107a71 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)