Re: [PATCH 1/3] [TCP]: Fix two off-by-one errors in fackets_out adjusting logic

2007-10-08 Thread David Miller
From: Ilpo_Järvinen [EMAIL PROTECTED] Date: Wed, 3 Oct 2007 14:00:16 +0300 1) Passing wrong skb to tcp_adjust_fackets_out could corrupt fastpath_cnt_hint as tcp_skb_pcount(next_skb) is not included to it if hint points exactly to the next_skb (it's lagging behind, see sacktag). 2) When

[PATCH 1/3] [TCP]: Fix two off-by-one errors in fackets_out adjusting logic

2007-10-03 Thread Ilpo Järvinen
1) Passing wrong skb to tcp_adjust_fackets_out could corrupt fastpath_cnt_hint as tcp_skb_pcount(next_skb) is not included to it if hint points exactly to the next_skb (it's lagging behind, see sacktag). 2) When fastpath_skb_hint is put backwards to avoid dangling skb reference, the skb's pcount