diff options
author | Thomas Chenault <[email protected]> | 2009-05-18 21:43:27 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2009-05-18 21:43:27 -0700 |
commit | 995b337952cdf7e05d288eede580257b632a8343 (patch) | |
tree | 478904bce184ab3e600d80c5ea6835f173bad932 /net/unix/af_unix.c | |
parent | 511e11e396dc596825ce04d53d7f6d579404bc01 (diff) |
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: Thomas Chenault <[email protected]>
Tested-by: Shyam Iyer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions