From: Joe Smith <codesoldi...@gmail.com> Date: Wed, 1 Nov 2017 10:27:49 -0700
> How strictly are references on the SKB enforced. For example, > tcp_transmit_skb() clones the SKB and adds a TCP header. Can I assume > that in case of re-transmission the header added will be there and can > be reused instead of creating a new one from scratch. Some fields like > time stamp would need to be updated but they should be unmodified. Every time a data packet goes out, whether it is the initial transmission or a retransmission, it goes through tcp_transmit_skb() which pushes the TCP headers and fills in all of the TCP header options as well.