net: flow_offload.h: Fix a comment at flow_action_entry.mangle
authorPetr Machata <petrm@mellanox.com>
Thu, 26 Mar 2020 14:01:09 +0000 (16:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Mar 2020 18:55:40 +0000 (11:55 -0700)
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>
include/net/flow_offload.h

index d06bf8d566ac7d1dda00ccce576ce44d72947753..ff071eaede17fc9482b1ca81aea0c028d08990f5 100644 (file)
@@ -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;