From: David Miller <davem@davemloft.net>
To: Trond.Myklebust@netapp.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH][RESEND] NET: Add the helper kernel_sock_shutdown()
Date: Mon, 12 Nov 2007 18:10:49 -0800 (PST) [thread overview]
Message-ID: <20071112.181049.231646376.davem@davemloft.net> (raw)
In-Reply-To: <1194898764.7465.65.camel@heimdal.trondhjem.org>
From: Trond Myklebust <Trond.Myklebust@netapp.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@netapp.com>
> Cc: Paul Clements <Paul.Clements@steeleye.com>
> Acked-by: Mark Fasheh <mark.fasheh@oracle.com>
> Cc: Steve French <sfrench@samba.org>
> Acked-by: David Howells <dhowells@redhat.com>
> Cc: David S. Miller <davem@davemloft.net>
Applied, thanks Trond.
prev parent reply other threads:[~2007-11-13 2:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 20:19 [PATCH][RESEND] NET: Add the helper kernel_sock_shutdown() Trond Myklebust
2007-11-13 2:10 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071112.181049.231646376.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Trond.Myklebust@netapp.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox