From: Petr Machata Date: Thu, 26 Mar 2020 14:01:09 +0000 (+0200) Subject: net: flow_offload.h: Fix a comment at flow_action_entry.mangle X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1f40be6a34a69f0ccfbf1db6814aba6d3306cb12;p=linux.git 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 Reviewed-by: Jiri Pirko Signed-off-by: Ido Schimmel Signed-off-by: David S. Miller --- diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h index d06bf8d566ac7..ff071eaede17f 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;