[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 12 Nov 2007 18:10:49 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: Trond.Myklebust@...app.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH][RESEND] NET: Add the helper kernel_sock_shutdown()
From: Trond Myklebust <Trond.Myklebust@...app.com>
Date: Mon, 12 Nov 2007 15:19:24 -0500
> ...and fix a couple of bugs in the NBD, CIFS and OCFS2 socket handlers.
>
> Looking at the sock->op->shutdown() handlers, it looks as if all of them
> take a SHUT_RD/SHUT_WR/SHUT_RDWR argument instead of the
> RCV_SHUTDOWN/SEND_SHUTDOWN arguments.
> Add a helper, and then define the SHUT_* enum to ensure that kernel users
> of shutdown() don't get confused.
>
> Signed-off-by: Trond Myklebust <Trond.Myklebust@...app.com>
> Cc: Paul Clements <Paul.Clements@...eleye.com>
> Acked-by: Mark Fasheh <mark.fasheh@...cle.com>
> Cc: Steve French <sfrench@...ba.org>
> Acked-by: David Howells <dhowells@...hat.com>
> Cc: David S. Miller <davem@...emloft.net>
Applied, thanks Trond.
-
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