Commit 0db89b8b authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

flow_dissector: fix doc for skb_get_poff

Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment