diff options
Diffstat (limited to 'lib/odp-util.c')
-rw-r--r-- | lib/odp-util.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/odp-util.c b/lib/odp-util.c index dd67ef62..7b725412 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -1155,7 +1155,10 @@ ovs_to_odp_frag(uint8_t ovs_frag) : OVS_FRAG_TYPE_NONE); } -/* 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) { |