summaryrefslogtreecommitdiffstats
path: root/net/dcb
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-01-29 16:07:52 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-29 16:07:52 -0800
commit95e3b24cfb4ec0479d2c42f7a1780d68063a542a (patch)
treeae16c4b765c86fbb764a3519e4d73e6f148e6f89 /net/dcb
parente125646ab56b490d0390b158e0afa9cccfc1f897 (diff)
downloadop-kernel-dev-95e3b24cfb4ec0479d2c42f7a1780d68063a542a.zip
op-kernel-dev-95e3b24cfb4ec0479d2c42f7a1780d68063a542a.tar.gz
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>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud