Two methods are sharing the same attribute constant, but the attribute definitions are not the same. This should not have been done, instead split them into two attributes with the same number.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -79,7 +79,7 @@ enum uverbs_attrs_destroy_cq_cmd_attr_ids { · 78 unmodified lines | |||
| 79 | }; | 79 | }; |
| 80 | 80 | ||
| 81 | enum uverbs_attrs_create_flow_action_esp { | 81 | enum uverbs_attrs_create_flow_action_esp { |
| 82 | UVERBS_ATTR_FLOW_ACTION_ESP_HANDLE, | 82 | UVERBS_ATTR_CREATE_FLOW_ACTION_ESP_HANDLE, |
| 83 | UVERBS_ATTR_FLOW_ACTION_ESP_ATTRS, | 83 | UVERBS_ATTR_FLOW_ACTION_ESP_ATTRS, |
| 84 | UVERBS_ATTR_FLOW_ACTION_ESP_ESN, | 84 | UVERBS_ATTR_FLOW_ACTION_ESP_ESN, |
| 85 | UVERBS_ATTR_FLOW_ACTION_ESP_KEYMAT, | 85 | UVERBS_ATTR_FLOW_ACTION_ESP_KEYMAT, |
| @@ -87,6 +87,11 @@ enum uverbs_attrs_create_flow_action_esp { · 1 unmodified line | |||
| 87 | UVERBS_ATTR_FLOW_ACTION_ESP_ENCAP, | 87 | UVERBS_ATTR_FLOW_ACTION_ESP_ENCAP, |
| 88 | }; | 88 | }; |
| 89 | 89 | ||
| 90 | enum uverbs_attrs_modify_flow_action_esp { | ||
| 91 | UVERBS_ATTR_MODIFY_FLOW_ACTION_ESP_HANDLE = | ||
| 92 | UVERBS_ATTR_CREATE_FLOW_ACTION_ESP_HANDLE, | ||
| 93 | }; | ||
| 94 | |||
| 90 | enum uverbs_attrs_destroy_flow_action_esp { | 95 | enum uverbs_attrs_destroy_flow_action_esp { |
| 91 | UVERBS_ATTR_DESTROY_FLOW_ACTION_HANDLE, | 96 | UVERBS_ATTR_DESTROY_FLOW_ACTION_HANDLE, |
| 92 | }; | 97 | }; |