mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
flow_dissector: fix doc for skb_get_poff
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
638b2a699f
commit
0db89b8b32
1 changed files with 6 additions and 2 deletions
|
@ -417,7 +417,11 @@ u32 __skb_get_poff(const struct sk_buff *skb, void *data,
|
|||
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
|
||||
* truncate packets without needing to push actual payload to the user
|
||||
* space and can analyze headers only, instead.
|
||||
|
|
Loading…
Reference in a new issue