Re: [PATCH] fix unlikely usage in tcp_transmit_skb()

2006-04-28 Thread Alexey Toptygin
On Fri, 28 Apr 2006, David S. Miller wrote: From: Hua Zhong <[EMAIL PROTECTED]> Date: Wed, 26 Apr 2006 09:50:28 -0700 (PDT) [I hope this time it's OK - I'm sending from pine/Linux] It adds an extra space in the diff lines which corrupts the patch. You can work around this by enabling quell

Re: [PATCH] fix unlikely usage in tcp_transmit_skb()

2006-04-28 Thread David S. Miller
From: Hua Zhong <[EMAIL PROTECTED]> Date: Wed, 26 Apr 2006 09:50:28 -0700 (PDT) > [I hope this time it's OK - I'm sending from pine/Linux] It adds an extra space in the diff lines which corrupts the patch. I've applied this by hand, but please try to get something which works before providing ne

[PATCH] fix unlikely usage in tcp_transmit_skb()

2006-04-26 Thread Hua Zhong
[I hope this time it's OK - I'm sending from pine/Linux] The following unlikely should be replaced by likely because the condition happens every time unless there is a hard error to transmit a packet. Signed-off-by: Hua Zhong <[EMAIL PROTECTED]> diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tc