]> nv-tegra.nvidia Code Review - linux-3.10.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)
commit172a863f2bfbacf4b6bfc06db219b946a058ce1a
tree6718e73fac415dbaa96993366d3a1f5d5dd84707
parenta9d41192b96559aa3658bc7886468a46da911c76
[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