|
From: | Laurent Vivier |
Subject: | Re: [PATCH v8 06/14] net: stream: Don't ignore EINVAL on netdev socket connection |
Date: | Fri, 23 Sep 2022 16:58:21 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 |
On 9/14/22 07:05, David Gibson wrote:
On Tue, Sep 13, 2022 at 08:39:52AM +0200, Laurent Vivier wrote:From: Stefano Brivio <sbrivio@redhat.com> Other errors are treated as failure by net_stream_client_init(), but if connect() returns EINVAL, we'll fail silently. Remove the related exception.Is this also a bug in net_socket_connect_init()? Is there an equivalent bug in dgram.c?
Yes, the bug has been found by Stefano in socket.c, I'm adding his patch to the series. There is no equivalent bug in dgram.c Thanks, Laurent
[Prev in Thread] | Current Thread | [Next in Thread] |