summaryrefslogtreecommitdiffstats
path: root/include/math-emu
diff options
context:
space:
mode:
authorEric Dumazet2013-10-19 20:42:54 +0200
committerDavid S. Miller2013-10-20 01:36:18 +0200
commit030737bcc3c404e273e97dbe06fe9561699a411b (patch)
tree95b56e3692c3f2704d7f41d70fb0627ae812ed2c /include/math-emu
parentipv6: gso: remove redundant locking (diff)
downloadkernel-qcow2-linux-030737bcc3c404e273e97dbe06fe9561699a411b.tar.gz
kernel-qcow2-linux-030737bcc3c404e273e97dbe06fe9561699a411b.tar.xz
kernel-qcow2-linux-030737bcc3c404e273e97dbe06fe9561699a411b.zip
net: generalize skb_segment()
While implementing GSO/TSO support for IPIP, I found skb_segment() was assuming network header was immediately following mac header. Its not really true in the case inet_gso_segment() is stacked : By the time tcp_gso_segment() is called, network header points to the inner IP header. Let's instead assume nothing and pick the current offsets found in original skb, we have skb_headers_offset_update() helper for that. Also move the csum_start update inside skb_headers_offset_update() Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/math-emu')
0 files changed, 0 insertions, 0 deletions