datapath: Properly validate length of OVS_KEY_ATTR_ENCAP attributes.
[openvswitch] / datapath / flow.h
index 43360cc6e72d7de7ea6082a18804a262e6826b79..40b1883abc8f80944164fb0f91457a97d180f4eb 100644 (file)
@@ -187,6 +187,6 @@ void flow_tbl_remove(struct flow_table *table, struct sw_flow *flow);
 u32 flow_hash(const struct sw_flow_key *key, int key_len);
 
 struct sw_flow *flow_tbl_next(struct flow_table *table, u32 *bucket, u32 *idx);
-extern const u32 ovs_key_lens[OVS_KEY_ATTR_MAX + 1];
+extern const int ovs_key_lens[OVS_KEY_ATTR_MAX + 1];
 
 #endif /* flow.h */