Skip to content
Commit 995b3379 authored by Thomas Chenault's avatar Thomas Chenault Committed by David S. Miller
Browse files

net: fix skb_seq_read returning wrong offset/length for page frag data



When called with a consumed value that is less than skb_headlen(skb)
bytes into a page frag, skb_seq_read() incorrectly returns an
offset/length relative to skb->data. Ensure that data which should come
from a page frag does.

Signed-off-by: default avatarThomas Chenault <thomas_chenault@dell.com>
Tested-by: default avatarShyam Iyer <shyam_iyer@dell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 511e11e3
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