X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fpinsched.c;h=6d7eb1301ca7c5000bd2771571e6df72c758624e;hb=0e70cdcb8ddeb20417e682fd63769f9d16601b07;hp=934140b2d42c4991f52b64b305d0fd8ab2c8efcb;hpb=9b45d7f5db91cdb41eb0a2124d92885d3b3edcc9;p=openvswitch diff --git a/ofproto/pinsched.c b/ofproto/pinsched.c index 934140b2..6d7eb130 100644 --- a/ofproto/pinsched.c +++ b/ofproto/pinsched.c @@ -21,6 +21,7 @@ #include #include #include +#include "hash.h" #include "hmap.h" #include "ofpbuf.h" #include "openflow/openflow.h" @@ -209,9 +210,9 @@ pinsched_send(struct pinsched *ps, uint16_t port_no, /* Otherwise queue it up for the periodic callback to drain out. */ struct pinqueue *q; - /* We are called with a buffer obtained from dpif_recv() that has much - * more allocated space than actual content most of the time. Since - * we're going to store the packet for some time, free up that + /* We might be called with a buffer obtained from dpif_recv() that has + * much more allocated space than actual content most of the time. + * Since we're going to store the packet for some time, free up that * otherwise wasted space. */ ofpbuf_trim(packet);