]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Fix csum_start update in pskb_expand_head
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 15 Oct 2007 08:46:08 +0000 (01:46 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:33 +0000 (12:26 -0700)
commit7ba224de177ddace03ea4b573188b436d4766c16
tree6718e73fac415dbaa96993366d3a1f5d5dd84707
parent168bb64ddc7df431e064365777c7d2876bfbb8e6
[NET]: Fix csum_start update in pskb_expand_head

I got confused by the dual nature of the off variable in the
function pskb_expand_head.  The csum_start offset should use
nhead instead of off which can change depending on whether we
are using offsets or pointers.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c