Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1015684iob; Fri, 13 May 2022 19:43:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzW92Zhe5LZmjIpv6tk8igCnnPWGj7HUPJnXKfxNecdp3g4g8AJS9bdf/INu7jXEIrmfOqA X-Received: by 2002:a05:6000:1a88:b0:20c:6811:3176 with SMTP id f8-20020a0560001a8800b0020c68113176mr6015640wry.85.1652496210203; Fri, 13 May 2022 19:43:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652496210; cv=none; d=google.com; s=arc-20160816; b=HiepR1lQtiFhxf2A+grWODVH5PBDuca+0W6C31SQ8LK6qNRNhQxN26OpBizMGK0U1o 8ICPLxgAT9sBCiN/bwc7ygeuwZtv0aliVDTtewfxAW0L6HIUbCyW0fwFr+6UTctymbNT UkmOU5cVzTnJH4+lsbnM4tZuEFR3U2PNyX9GYY+CwSPq+N710OPNr8E2cAAYO0RqIOsZ tN8OP+ztRifP5eaOYwyf/k1IZvH+/vMfp1hhejvoi1hxReZUvUc16El+XSvaKCTMw8d2 5ZcIUsWsMTLJZXnqv/SVL/u/PnNxTv/dCGrjVUILa+eIQXj0C8+Rg7R8Vcr70KWpsE+T lP2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=lp/uz658rJv0SM0b/937Et5hL+75oYAVWjvmIdX7NkQ=; b=SRqZOIdhZnv9wMP3GKjlw8pHgAPaR9tC/d2OdEEMQK+J5qbTuvk31/47HlIFLjutXn //PExllNIk027XCq5zVWQynoGL7vkTih+5coVapS+hKawdn/uezmjZ0dlb/sV2IJNjJd TalbgKPDLfhcUyxk/wfcfsx7gU+8/CjSj43arxbJjL72ja6vpK81QTPIDEi6vkX0PS8j MD0QlenNfsoy2K0THglFWT0S328eguFBDk19ktS1szXl2mk1pfzyRhtBaW5k9s8YaJlj 32Iaz4h6TpOB2zGCM9BqOkTIiA1O5SA/SeBMYZN/eDUABqYHSf8pcM3TjLxskP0HQRJq bk7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PDfFObaF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g14-20020a5d64ee000000b00203e90194c2si3800233wri.582.2022.05.13.19.43.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:43:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PDfFObaF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 86CE630B2C1; Fri, 13 May 2022 16:31:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357767AbiELSkW (ORCPT + 99 others); Thu, 12 May 2022 14:40:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357733AbiELSkQ (ORCPT ); Thu, 12 May 2022 14:40:16 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21EF0270C9C; Thu, 12 May 2022 11:40:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BA41BB82AD2; Thu, 12 May 2022 18:40:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 4A916C36AE5; Thu, 12 May 2022 18:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652380813; bh=DIkBcwiBP7eLnXH/EArwAiEEFxkhnx85Yfb5gtm5f8o=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=PDfFObaFtUVfU1gyRN4PP0oeaP0eEe5d3UHsZ5okr+c30QraSe0apJoAn6PoYTpbg WyMDoNq2AhDRp4I7YHh6XOF0NeBMwF5z7gqR8Na7sX0ITcIpqUKEFUBTf1fqkMjh85 HE/yHPLh3Vs6QKtFyWZDA9qS8hIc6FIFlVXl5AwLWNjXEjOvglL+KDA64Bxl11Jokk HusWQT0l7ABffPiu/EjJn09uxCmRvLmOsOgJyKkpiJ+0TS8fYvmPLKx5dH/t5l9TPe xlwDertn92bhw3I/mtNl5O9IODXcFUrA+QNSJ3MKpV58NxI40L9C5CQesqxMSiKjt6 JTmOB+FoHf5AQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 21660F0393D; Thu, 12 May 2022 18:40:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165238081313.29516.9624732494315218204.git-patchwork-notify@kernel.org> Date: Thu, 12 May 2022 18:40:13 +0000 References: <20220512030820.73848-1-guangguan.wang@linux.alibaba.com> In-Reply-To: <20220512030820.73848-1-guangguan.wang@linux.alibaba.com> To: Guangguan Wang Cc: kgraul@linux.ibm.com, davem@davemloft.net, kuba@kernel.org, tonylu@linux.alibaba.com, linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Thu, 12 May 2022 11:08:20 +0800 you wrote: > Non blocking sendmsg will return -EAGAIN when any signal pending > and no send space left, while non blocking recvmsg return -EINTR > when signal pending and no data received. This may makes confused. > As TCP returns -EAGAIN in the conditions described above. Align the > behavior of smc with TCP. > > Fixes: 846e344eb722 ("net/smc: add receive timeout check") > Signed-off-by: Guangguan Wang > Reviewed-by: Tony Lu > > [...] Here is the summary with links: - [net,v2] net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending https://git.kernel.org/netdev/net/c/f3c46e41b32b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html