Skip to content
Commit 0261ecde authored by Alexander Wachter's avatar Alexander Wachter Committed by Jukka Rissanen
Browse files

net: ip: net_pkt: Add pkt_cursor_advance before contiguous check



When net_pkt_skip skips the entire data in a net buffer, the cursor
still points to this buffer on data that is off by one.
Calling pkt_cursor_advance in net_pkt_is_contiguous fixes this and
moves the cursor to the next buffer.

Signed-off-by: default avatarAlexander Wachter <alexander.wachter@student.tugraz.at>
parent 12e11b04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment