From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F71AC48BCD for ; Wed, 9 Jun 2021 21:10:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3FE9C613EF for ; Wed, 9 Jun 2021 21:10:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229705AbhFIVMA (ORCPT ); Wed, 9 Jun 2021 17:12:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:52130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbhFIVL6 (ORCPT ); Wed, 9 Jun 2021 17:11:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id CBF90613EF; Wed, 9 Jun 2021 21:10:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623273003; bh=q2I26SsXN75u07xcWzSWoEtvoQx1EDGGFj+1YS47jRA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=TQGXNWGqvUckZOAReto2PUF1WnzBUcddQ70AuupC13YY2KQm+zYnsJK9m0L7nAM0h wt9B6zrjmTF88aRlfy6gA6Sj/Oiw23XcZvrUuY6BdggbLK+5c1shrvo32di3Qs00pp Gmhn9xLnmSHCnviqXb+VB9duwmjm19zs4nxWdKbOtSj4TP2PzGQRO6ByZpMBhtTjek O7bJN0VEdYSboddTHKwjU7Ja7+30xI8oHPJY2Yh0tkZ70LRfjF1iovd5uBMTiZakHv +8onuRX/w6U2/FxiAi6LJUjlX+RAxrzghYjZVj2I2CBQLjMMkFHZ26EwQEmYcAUIrS SFnxwBtdaQojw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] inet: annotate data race in inet_send_prepare() and inet_dgram_connect() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162327300376.16455.4468909198794441431.git-patchwork-notify@kernel.org> Date: Wed, 09 Jun 2021 21:10:03 +0000 References: <20210609075945.3976469-1-eric.dumazet@gmail.com> In-Reply-To: <20210609075945.3976469-1-eric.dumazet@gmail.com> To: Eric Dumazet Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, edumazet@google.com, syzkaller@googlegroups.com Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Wed, 9 Jun 2021 00:59:45 -0700 you wrote: > From: Eric Dumazet > > Both functions are known to be racy when reading inet_num > as we do not want to grab locks for the common case the socket > has been bound already. The race is resolved in inet_autobind() > by reading again inet_num under the socket lock. > > [...] Here is the summary with links: - [net] inet: annotate data race in inet_send_prepare() and inet_dgram_connect() https://git.kernel.org/netdev/net/c/dcd01eeac144 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html