net: Description of net_pkt_skip() is not clear #14093
Labels
area: Networking
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Milestone
Current docstring of net_pkt_skip() (as introduced in b039625) reads:
Specifically, the behavior re: pkt->overwrite isn't very clear. Neither "if it's 0" part is clear. For me it reads as: "If overwrite set to false, actually overwrite something in the packet". Can it be reworded to avoid such interpretations? Or perhaps, we really have an API clarity issue here? Maybe the function should be renamed, e.g. to net_pkt_seek() (but the question rises re: backward seeks).
The text was updated successfully, but these errors were encountered: