diff options
author | Petr Machata <petrm@mellanox.com> | 2020-03-26 16:01:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-26 11:55:40 -0700 |
commit | 1f40be6a34a69f0ccfbf1db6814aba6d3306cb12 (patch) | |
tree | fa3cc276235553ecee9966d05d15c80cb6903213 /include/net/flow_offload.h | |
parent | 14340219b89c98d96170721d38378252db206e69 (diff) | |
download | lwn-1f40be6a34a69f0ccfbf1db6814aba6d3306cb12.tar.gz lwn-1f40be6a34a69f0ccfbf1db6814aba6d3306cb12.zip |
net: flow_offload.h: Fix a comment at flow_action_entry.mangle
This field references FLOW_ACTION_PACKET_EDIT. Such action does not exist
though. Instead the field is used for FLOW_ACTION_MANGLE and _ADD.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flow_offload.h')
-rw-r--r-- | include/net/flow_offload.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h index d06bf8d566ac..ff071eaede17 100644 --- a/include/net/flow_offload.h +++ b/include/net/flow_offload.h @@ -202,7 +202,8 @@ struct flow_action_entry { __be16 proto; u8 prio; } vlan; - struct { /* FLOW_ACTION_PACKET_EDIT */ + struct { /* FLOW_ACTION_MANGLE */ + /* FLOW_ACTION_ADD */ enum flow_action_mangle_base htype; u32 offset; u32 mask; |