odp-util: Fix generating ct_orig_tuple in odp_key_to_dp_packet()
Previously, odp_key_to_dp_packet() may fail to get ct_orig_tuple
from ODP flow key. This patch fixes the issue.
VMWare-BZ:
Fixes: ("odp: Support conntrack orig tuple key.")
Suggested-by: Joe Stringer
@@ -4854,7 +4854,8 @@ odp_key_to_dp_packet(const struct nlattr *key, size_t key_len,
1u << OVS_KEY_ATTR_IN_PORT | 1u << OVS_KEY_ATTR_ETHERTYPE |
1u << OVS_KEY_ATTR_ETHERNET | 1u << OVS_KEY_ATTR_CT_STATE |
1u << OVS_KEY_ATTR_CT_ZONE | 1u << OVS_KEY_ATTR_CT_MARK |
- 1u << OVS_KEY_ATTR_CT_LABELS;
+ 1u << OVS_KEY_ATTR_CT_LABELS | 1u << OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV4 |
+ 1u << OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV6;
pkt_metadata_init(md, ODPP_NONE);
