[PATCH 2/9] [TCP]: Make fackets_out accurate

2007-09-20 Thread Ilpo Järvinen
Substraction for fackets_out is unconditional when snd_una advances, thus there's no need to do it inside the loop. Just make sure correct bounds are honored. Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]> --- net/ipv4/tcp_input.c | 10 +++--- net/ipv4/tcp_output.c | 44 +++

Re: [PATCH 2/9] [TCP]: Make fackets_out accurate

2007-09-20 Thread David Miller
From: "Ilpo_Järvinen" <[EMAIL PROTECTED]> Date: Thu, 20 Sep 2007 15:17:45 +0300 > Substraction for fackets_out is unconditional when snd_una > advances, thus there's no need to do it inside the loop. Just > make sure correct bounds are honored. > > Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]>