summaryrefslogtreecommitdiffstats
path: root/net/core/flow_dissector.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-03-25 09:17:21 -0700
committerDavid S. Miller <davem@davemloft.net>2019-03-27 13:49:43 -0700
commitd79b3bafabc27ce32ecd71d9133bee39522d3f51 (patch)
treee3d8c157ccb03e10b6de4885a22770cbf6047017 /net/core/flow_dissector.c
parentb3c0fd61e6ab0bf7381b31cb4edef76e2ec2f2bf (diff)
downloadblackbird-op-linux-d79b3bafabc27ce32ecd71d9133bee39522d3f51.tar.gz
blackbird-op-linux-d79b3bafabc27ce32ecd71d9133bee39522d3f51.zip
net/core: Document __skb_flow_dissect() flags argument
This patch avoids that the following warning is reported when building with W=1: warning: Function parameter or member 'flags' not described in '__skb_flow_dissect' Cc: Tom Herbert <tom@herbertland.com> Fixes: cd79a2382aa5 ("flow_dissector: Add flags argument to skb_flow_dissector functions") # v4.3. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/flow_dissector.c')
-rw-r--r--net/core/flow_dissector.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c
index bb1a54747d64..b4d581134ef2 100644
--- a/net/core/flow_dissector.c
+++ b/net/core/flow_dissector.c
@@ -732,6 +732,8 @@ bool __skb_flow_bpf_dissect(struct bpf_prog *prog,
* @proto: protocol for which to get the flow, if @data is NULL use skb->protocol
* @nhoff: network header offset, if @data is NULL use skb_network_offset(skb)
* @hlen: packet header length, if @data is NULL use skb_headlen(skb)
+ * @flags: flags that control the dissection process, e.g.
+ * FLOW_DISSECTOR_F_STOP_AT_L3.
*
* The function will try to retrieve individual keys into target specified
* by flow_dissector from either the skbuff or a raw buffer specified by the
OpenPOWER on IntegriCloud