[Skiboot] [PATCH v2 1/5] external/opal-prd: send socket response in the error path

Neelesh Gupta neelegup at linux.vnet.ibm.com
Tue Aug 25 21:01:47 AEST 2015


Hi Jeremy,

On 08/25/2015 06:20 AM, Jeremy Kerr wrote:
> Hi Neelesh,
>
>> The server should send the response in the case of error too,
>> so that the waiting client is not blocked forever.
> In general this is something we should do, but are you sure we want this
> in on an error from a recv()? In what case is this happening?

I did not find this case to execute, thought of changing in general by 
looking at the code.
Since, a client *only* would have caused this path to execute and 
awaiting the response
so the server should send  a response if recv() fails..

Neelesh.

>
> Cheers,
>
>
> Jeremy
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/skiboot/attachments/20150825/444dec32/attachment.html>


More information about the Skiboot mailing list