From: Ben Pfaff Date: Fri, 4 Feb 2011 23:34:45 +0000 (-0800) Subject: ofproto: Fix comment on send_packet_in(). X-Git-Tag: v1.1.0~125 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=2c00fecf5004707672dfd163bdc7907334b4757d;p=sliver-openvswitch.git ofproto: Fix comment on send_packet_in(). --- 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)