summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2020-01-09 01:59:56 +0100
committerDavid S. Miller <davem@davemloft.net>2020-01-10 03:37:00 +0100
commit6b3acfc3cc3d54a99cc5148960edfc38c94a93f2 (patch)
treea3158904ef97896e61ad5632d5a43014f4bc957c /net
parentnet/ncsi: Support for multi host mellanox card (diff)
downloadlinux-6b3acfc3cc3d54a99cc5148960edfc38c94a93f2.tar.xz
linux-6b3acfc3cc3d54a99cc5148960edfc38c94a93f2.zip
flow_dissector: fix document for skb_flow_get_icmp_tci
using correct input parameter name to fix the below warning: net/core/flow_dissector.c:242: warning: Function parameter or member 'thoff' not described in 'skb_flow_get_icmp_tci' net/core/flow_dissector.c:242: warning: Excess function parameter 'toff' description in 'skb_flow_get_icmp_tci' Signed-off-by: Li RongQing <lirongqing@baidu.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/flow_dissector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c
index 2dbbb030fbed..f560b4902060 100644
--- a/net/core/flow_dissector.c
+++ b/net/core/flow_dissector.c
@@ -233,7 +233,7 @@ static bool icmp_has_id(u8 type)
* @skb: sk_buff to extract from
* @key_icmp: struct flow_dissector_key_icmp to fill
* @data: raw buffer pointer to the packet
- * @toff: offset to extract at
+ * @thoff: offset to extract at
* @hlen: packet header length
*/
void skb_flow_get_icmp_tci(const struct sk_buff *skb,