Re: pskb_copy() in tcp_transmit_skb()
flat view
From: Gaofeng <hidden>
Date: 2011-09-13 09:29:04
于 2011年09月13日 17:21, Christoph Paasch 写道:
Hi, I'm trying to understand the reason for the possible call to pskb_copy() in tcp_transmit_skb(). I don't find, where we may have a cloned skb entering tcp_transmit_skb(). The original pskb_copy() came from tcp_retransmit_skb() (commit dfb4b9dceb35c567a595ae5e9d035cfda044a103). But from that point, the git-history does not show where the pskb_copy() is coming from. Does somebody has an idea, how a cloned skb can be passed to tcp_transmit_skb() and thus trigger this call to pskb_copy(). Thanks for your help, Christoph -- Christoph Paasch PhD Student IP Networking Lab --- http://inl.info.ucl.ac.be MultiPath TCP in the Linux Kernel --- http://inl.info.ucl.ac.be/mptcp Université Catholique de Louvain www.rollerbulls.be -- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
maybe nat,nat can change the tcp packet header