[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5040D5D9.4040802@genband.com>
Date: Fri, 31 Aug 2012 09:18:49 -0600
From: Chris Friesen <chris.friesen@...band.com>
To: Ying Xue <ying.xue@...driver.com>
CC: netdev <netdev@...r.kernel.org>,
Allan Stephens <allan.stephens@...driver.com>,
Jon Maloy <jon.maloy@...csson.com>
Subject: Re: [BUG] TIPC handling of -ERESTARTSYS in connect()
On 08/31/2012 09:09 AM, Chris Friesen wrote:
> On 08/31/2012 03:37 AM, Ying Xue wrote:
>> Hi Chris,
>>
>> Although this is a known issue, still thanks for your report.
>>
>> Regardless of 1.7.7 or mainline, the issue really exists.
>> Can you please check and verify the attached patch?
>>
>> PS: the patch is based on 1.7.7 rather than mainline.
>
>
> I haven't had a chance to test it yet but from visual inspection the
> patch looks pretty good.
>
> It looks like the case where we come in with "sock->state ==
> SS_LISTENING" has changed. Previously we would return -EOPNOTSUPP but
> now it'll be -EINVAL. Is that intentional?
Just noticed something else. In the SS_CONNECTING case I don't think
there's any point in setting "res = -EALREADY" since a bit further down
it gets set unconditionally anyway.
Chris
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists