[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070327.135338.77404865.davem@davemloft.net>
Date: Tue, 27 Mar 2007 13:53:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] NET : inet_ehash_secret should be __read_mostly and
set only once
From: Eric Dumazet <dada1@...mosbay.com>
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 <dada1@...mosbay.com>
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists