On Fri, 2015-06-05 at 11:02 -0700, Martin KaFai Lau wrote:

> tcp_trim_head() does not take the mss_now.
> Is it fine to have mss_now <= tcp_skb_mss(skb)? or we can depend on
> the tcp_init_tso_segs() in the tcp_write_xmit() to take care of it?

It should be fine : packets not yet sent have tcp_skb_pcount()==0,
so that tcp_init_tso_segs() can do the computation at the right time.



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to