X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fpinsched.c;h=6d7eb1301ca7c5000bd2771571e6df72c758624e;hb=87ea5e5e26c97598cd66ef64c8386afac2b77fff;hp=934140b2d42c4991f52b64b305d0fd8ab2c8efcb;hpb=9b45d7f5db91cdb41eb0a2124d92885d3b3edcc9;p=sliver-openvswitch.git diff --git a/ofproto/pinsched.c b/ofproto/pinsched.c index 934140b2d..6d7eb1301 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);