Re: [BUG] TIPC handling of -ERESTARTSYS in connect()
From: Chris Friesen <hidden>
Date: 2012-08-31 15:11:56
From: Chris Friesen <hidden>
Date: 2012-08-31 15:11:56
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? Chris