commit | 95e3b24cfb4ec0479d2c42f7a1780d68063a542a | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jan 29 16:07:52 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 29 16:07:52 2009 -0800 |
tree | ae16c4b765c86fbb764a3519e4d73e6f148e6f89 | |
parent | e125646ab56b490d0390b158e0afa9cccfc1f897 [diff] |
net: Fix frag_list handling in skb_seq_read The frag_list handling was broken in skb_seq_read: 1) We didn't add the stepped offset when looking at the head are of fragments other than the first. 2) We didn't take the stepped offset away when setting the data pointer in the head area. 3) The frag index wasn't reset. This patch fixes both issues. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>