From: David Miller <davem@davemloft.net>
To: decui@microsoft.com
Cc: gregkh@linuxfoundation.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, devel@linuxdriverproject.org,
olaf@aepfle.de, apw@canonical.com, jasowang@redhat.com,
vkuznets@redhat.com, cavery@redhat.com, kys@microsoft.com,
haiyangz@microsoft.com, joe@perches.com
Subject: Re: [PATCH v12 net-next 1/1] hv_sock: introduce Hyper-V Sockets
Date: Tue, 28 Jun 2016 09:45:02 -0400 (EDT) [thread overview]
Message-ID: <20160628.094502.1492727757715500496.davem@davemloft.net> (raw)
In-Reply-To: <CO2PR03MB2182CC1DA2804F09D8D77A70BF220@CO2PR03MB2182.namprd03.prod.outlook.com>
From: Dexuan Cui <decui@microsoft.com>
Date: Tue, 28 Jun 2016 09:59:21 +0000
> The idea here is: IMO the syscalls sys_read()/write() shoudn't return
> -ENOMEM, so I have to make sure the buffer allocation succeeds?
You have to fail if resources cannot be allocated.
next prev parent reply other threads:[~2016-06-28 13:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-24 7:45 [PATCH v12 net-next 1/1] hv_sock: introduce Hyper-V Sockets Dexuan Cui
2016-06-28 9:33 ` David Miller
2016-06-28 9:59 ` Dexuan Cui
2016-06-28 13:45 ` David Miller [this message]
2016-06-28 15:29 ` Dexuan Cui
2016-06-28 15:42 ` Rick Jones
2016-06-29 9:17 ` Dexuan Cui
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=20160628.094502.1492727757715500496.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=apw@canonical.com \
--cc=cavery@redhat.com \
--cc=decui@microsoft.com \
--cc=devel@linuxdriverproject.org \
--cc=gregkh@linuxfoundation.org \
--cc=haiyangz@microsoft.com \
--cc=jasowang@redhat.com \
--cc=joe@perches.com \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=olaf@aepfle.de \
--cc=vkuznets@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).