Re: [PATCH] [NET] One NET_INC_STATS() could be NET_INC_STATS_BH in tcp_v4_err()

2006-10-20 Thread David Miller
From: Eric Dumazet [EMAIL PROTECTED] Date: Thu, 19 Oct 2006 17:45:26 +0200 I believe this NET_INC_STATS() call can be replaced by NET_INC_STATS_BH(), a little bit cheaper. Signed-off-by: Eric Dumazet [EMAIL PROTECTED] Applied, although I hope tcp_v4_err() never becomes a fast path :-) -

Re: [PATCH] [NET] One NET_INC_STATS() could be NET_INC_STATS_BH in tcp_v4_err()

2006-10-20 Thread Arnaldo Carvalho de Melo
On 10/20/06, David Miller [EMAIL PROTECTED] wrote: From: Eric Dumazet [EMAIL PROTECTED] Date: Thu, 19 Oct 2006 17:45:26 +0200 I believe this NET_INC_STATS() call can be replaced by NET_INC_STATS_BH(), a little bit cheaper. Signed-off-by: Eric Dumazet [EMAIL PROTECTED] Applied, although I

[PATCH] [NET] One NET_INC_STATS() could be NET_INC_STATS_BH in tcp_v4_err()

2006-10-19 Thread Eric Dumazet
I believe this NET_INC_STATS() call can be replaced by NET_INC_STATS_BH(), a little bit cheaper. Signed-off-by: Eric Dumazet [EMAIL PROTECTED] --- linux/net/ipv4/tcp_ipv4.c.orig 2006-10-19 17:37:22.0 +0200 +++ linux-ed/net/ipv4/tcp_ipv4.c2006-10-19 17:37:43.0 +0200