From: Eric Dumazet <[EMAIL PROTECTED]>
Date: Tue, 27 Mar 2007 12:13:43 +0200

> Hi David
> 
> Please find this patch against net-2.6.22
> 
> Thank you
> 
> [PATCH] NET : inet_ehash_secret should be __read_mostly and set only once
> 
> There is a very tiny probability that build_ehash_secret() is called at the 
> same time by different CPUS.
> 
> Also, using __read_mostly is a must for inet_ehash_secret
> 
> Signed-off-by: Eric Dumazet <[EMAIL PROTECTED]>

Applied, but I left out this totally unrelated code formatting
change in your patch:

> @@ -684,7 +694,8 @@ int inet_sendmsg(struct kiocb *iocb, str
>  }
>  
>  
> -static ssize_t inet_sendpage(struct socket *sock, struct page *page, int 
> offset, size_t size, int flags)
> +static ssize_t inet_sendpage(struct socket *sock, struct page *page, int 
> offset,
> +     size_t size, int flags)
>  {
>       struct sock *sk = sock->sk;
>  

Thanks!
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to