]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
[SKBUFF]: Fix up csum_start when head room changes
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 16 Sep 2007 23:32:11 +0000 (16:32 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:51:24 +0000 (16:51 -0700)
commit52886051ffdc087a4f7f11540395fd64040101ad
tree5b72ca9a1313fb5c0d73b8a4117f59bc3a1a63f2
parent0cfad07555312468296ea3bbbcdf99038f58678b
[SKBUFF]: Fix up csum_start when head room changes

Thanks for noticing the bug where csum_start is not updated
when the head room changes.

This patch fixes that.  It also moves the csum/ip_summed
copying into copy_skb_header so that skb_copy_expand gets
it too.  I've checked its callers and no one should be upset
by this.

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