Commit 1f40be6a authored by Petr Machata's avatar Petr Machata Committed by David S. Miller

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: default avatarPetr Machata <petrm@mellanox.com>
Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 14340219
...@@ -202,7 +202,8 @@ struct flow_action_entry { ...@@ -202,7 +202,8 @@ struct flow_action_entry {
__be16 proto; __be16 proto;
u8 prio; u8 prio;
} vlan; } vlan;
struct { /* FLOW_ACTION_PACKET_EDIT */ struct { /* FLOW_ACTION_MANGLE */
/* FLOW_ACTION_ADD */
enum flow_action_mangle_base htype; enum flow_action_mangle_base htype;
u32 offset; u32 offset;
u32 mask; u32 mask;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment