[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1327095610.9266.1.camel@lade.trondhjem.org>
Date: Fri, 20 Jan 2012 16:40:10 -0500
From: Trond Myklebust <Trond.Myklebust@...app.com>
To: Stanislav Kinsbursky <skinsbursky@...allels.com>
Cc: linux-nfs@...r.kernel.org, xemul@...allels.com, neilb@...e.de,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
jbottomley@...allels.com, bfields@...ldses.org,
davem@...emloft.net, devel@...nvz.org
Subject: Re: [PATCH RFC] SUNPRC: remove marking service temporary sockets
with XPT_CHNGBUF
On Fri, 2012-01-20 at 16:55 +0400, Stanislav Kinsbursky wrote:
> This is a cleanup patch.
> Service temporary sockets can be TCP or RDMA only. But XPT_CHNGBUF service
> socket flag is checked only for UDP sockets on receive.
> Thus (if I don't miss something non-obvious) this bit raising for temporary
> sockets can be removed.
>
> Signed-off-by: Stanislav Kinsbursky <skinsbursky@...allels.com>
>
> ---
> net/sunrpc/svcsock.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c
> index e8af0c9..2867249 100644
> --- a/net/sunrpc/svcsock.c
> +++ b/net/sunrpc/svcsock.c
> @@ -1381,8 +1381,6 @@ void svc_sock_update_bufs(struct svc_serv *serv)
> spin_lock_bh(&serv->sv_lock);
> list_for_each_entry(svsk, &serv->sv_permsocks, sk_xprt.xpt_list)
> set_bit(XPT_CHNGBUF, &svsk->sk_xprt.xpt_flags);
> - list_for_each_entry(svsk, &serv->sv_tempsocks, sk_xprt.xpt_list)
> - set_bit(XPT_CHNGBUF, &svsk->sk_xprt.xpt_flags);
> spin_unlock_bh(&serv->sv_lock);
> }
> EXPORT_SYMBOL_GPL(svc_sock_update_bufs);
I'm assuming that Bruce will prefer to carry this, since it is
completely orthogonal to the net namespace patchsets.
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@...app.com
www.netapp.com
--
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