提交 0db89b8b 编写于 作者: J Jiri Pirko 提交者: David S. Miller

flow_dissector: fix doc for skb_get_poff

Signed-off-by: NJiri Pirko <jiri@resnulli.us>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 638b2a69
...@@ -417,7 +417,11 @@ u32 __skb_get_poff(const struct sk_buff *skb, void *data, ...@@ -417,7 +417,11 @@ u32 __skb_get_poff(const struct sk_buff *skb, void *data,
return poff; return poff;
} }
/* skb_get_poff() returns the offset to the payload as far as it could /**
* skb_get_poff - get the offset to the payload
* @skb: sk_buff to get the payload offset from
*
* The function will get the offset to the payload as far as it could
* be dissected. The main user is currently BPF, so that we can dynamically * be dissected. The main user is currently BPF, so that we can dynamically
* truncate packets without needing to push actual payload to the user * truncate packets without needing to push actual payload to the user
* space and can analyze headers only, instead. * space and can analyze headers only, instead.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册