Repository navigation
Commit b3d6cb9
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>1 parent e93a043 commit b3d6cb9
1 file changed
Lines changed: 2 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4535 | 4535 | | |
4536 | 4536 | | |
4537 | 4537 | | |
| 4538 | + | |
4538 | 4539 | | |
4539 | | - | |
4540 | | - | |
4541 | 4540 | | |
4542 | | - | |
4543 | | - | |
4544 | | - | |
4545 | | - | |
4546 | | - | |
4547 | | - | |
| 4541 | + | |
4548 | 4542 | | |
4549 | 4543 | | |
4550 | 4544 | | |
4551 | | - | |
4552 | | - | |
4553 | | - | |
4554 | | - | |
4555 | | - | |
4556 | | - | |
4557 | | - | |
4558 | 4545 | | |
4559 | 4546 | | |
4560 | 4547 | | |
| |||
0 commit comments