X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fodp-util.c;h=7caab09c5c3694ae4667ddd57ac29e011b9b1dac;hb=70e4e586e4aff1e369cacd721e874d9731253130;hp=8693d3c81baf635d64b789ec20bd6ec85c0141e7;hpb=9d3ee0bc635063f277754d9d31fe634967f8473c;p=sliver-openvswitch.git diff --git a/lib/odp-util.c b/lib/odp-util.c index 8693d3c81..7caab09c5 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -14,8 +14,8 @@ * limitations under the License. */ -#include #include +#include #include "odp-util.h" #include #include @@ -1246,7 +1246,10 @@ ovs_to_odp_frag(uint8_t nw_frag) : OVS_FRAG_TYPE_LATER); } -/* Appends a representation of 'flow' as OVS_KEY_ATTR_* attributes to 'buf'. */ +/* Appends a representation of 'flow' as OVS_KEY_ATTR_* attributes to 'buf'. + * + * 'buf' must have at least ODPUTIL_FLOW_KEY_BYTES bytes of space, or be + * capable of being expanded to allow for that much space. */ void odp_flow_key_from_flow(struct ofpbuf *buf, const struct flow *flow) {