[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160628.094502.1492727757715500496.davem@davemloft.net>
Date: Tue, 28 Jun 2016 09:45:02 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: decui@...rosoft.com
Cc: gregkh@...uxfoundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, devel@...uxdriverproject.org,
olaf@...fle.de, apw@...onical.com, jasowang@...hat.com,
vkuznets@...hat.com, cavery@...hat.com, kys@...rosoft.com,
haiyangz@...rosoft.com, joe@...ches.com
Subject: Re: [PATCH v12 net-next 1/1] hv_sock: introduce Hyper-V Sockets
From: Dexuan Cui <decui@...rosoft.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.
Powered by blists - more mailing lists