]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
tcp: do not copy headers in tcp_collapse()
authorEric Dumazet <edumazet@google.com>
Mon, 15 Sep 2014 11:19:53 +0000 (04:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Sep 2014 18:41:08 +0000 (14:41 -0400)
commitb3d6cb92fd190d720a01075c4d20cdca896663fc
treec0686708da032f9f6f842903163fa6da23ef649f
parente93a0435f809d009919a743fb6e93076faac8aa7
tcp: do not copy headers in tcp_collapse()

tcp_collapse() wants to shrink skb so that the overhead is minimal.

Now we store tcp flags into TCP_SKB_CB(skb)->tcp_flags, we no longer
need to keep around full headers.
Whole available space is dedicated to the payload.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c