Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1797164rdd; Thu, 11 Jan 2024 09:28:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhLOQe9s4FkHlYDB1L3iKd3lMrXCr807IgcFqdxn3udSkziMB6JSZMxK4gXQDzVeSCN85m X-Received: by 2002:a62:844f:0:b0:6da:fc26:18b5 with SMTP id k76-20020a62844f000000b006dafc2618b5mr74560pfd.41.1704994126499; Thu, 11 Jan 2024 09:28:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704994126; cv=none; d=google.com; s=arc-20160816; b=qdfJgYnZSxY7hsFwff0CCVYoKNsojhDY2wi9jkK+nxaOQdPPQhXASckin2qN4m6yo/ 237EyI7/QEEEaDP/rAFVjB7p1ZUG1HlEqxjjcnLFDgfl1mvmlJmlZLEMv/jPgIwuc5n5 om+bZr25rZzOAooNJ6u3GoNCtduFFnCIqlkDE94BUU5v1xSSpn9DlfD3Kn3g58BJxQd7 2bG2xzMj4Sv+L4+s8E6UPwzbf1fchW4mf0jOhCxkmSt0XouSbJ78VQo8ZnATH/cVxTiZ r4Dfp0eFHVIpTEtJbkVHtApP37LMS4BhT1J9kCE+F3WA75c461zI3B82T/pelaausnrJ mqSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=VQU+/B75My8JCV9QOfAoQaVoiZZKMfAX5WlSXQ7LsZ8=; fh=emlUEqeaNb72q2lHLAgvKVV1RHMow9XCBXIvdZvmes8=; b=pP4CA2p83ulQUApAMYwfb9F9ePpf921tIwhw0SizyTmYMMfAqwllsSgUpd4p7pxs8E 38ZMDx+qwCtttGcU+YozhDmytaVYGRHuHKQqvvbJSCwE6X4h4FUzFSC7i1Zb59CwrXfY MscFWwPFnwQBqa6sFE30M3f4stQ/kPXNxTeUS6OKuJRYjw5bszGfAYZai4jv7goZd/QF I34Ajm8QNkSG53EfqKlBYl9hPYSdJ29rYJfInCTWwXI2dN2POICu848zgCcTGZSmx7fx SE0QizJI6rT72GLfbAkD8otuZ6YQ4N5Y2u2hjKrEqVb/wd6s3muhGNvoNgVZ/f2ahZfS 1ZjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=JRGixTjk; spf=pass (google.com: domain of linux-kernel+bounces-23931-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23931-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z8-20020aa79e48000000b006d5b3cdac9dsi1464502pfq.19.2024.01.11.09.28.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 09:28:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23931-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=JRGixTjk; spf=pass (google.com: domain of linux-kernel+bounces-23931-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23931-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0C454B20FA1 for ; Thu, 11 Jan 2024 17:28:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78060524C0; Thu, 11 Jan 2024 17:28:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="JRGixTjk" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7270251C52; Thu, 11 Jan 2024 17:28:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92B1AC433C7; Thu, 11 Jan 2024 17:28:32 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="JRGixTjk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1704994110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VQU+/B75My8JCV9QOfAoQaVoiZZKMfAX5WlSXQ7LsZ8=; b=JRGixTjkJkyB+Uod9GaN7lLh08tBREHRQxoQZ7jj0Nbgau90+b3coSzYv9vG7TbWLxoScs T7qUKY8z2bd5EF8gAw37yDEzxi8dxMibEfBH1ucidj0WndEwTeHR5zQa10wXvjYT+bOOqz xE+wnZ8NnWt5rjp5I/1MNgkKTSnXTIA= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id ec4b128a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 11 Jan 2024 17:28:30 +0000 (UTC) Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-5f75aee31d2so51263487b3.2; Thu, 11 Jan 2024 09:28:29 -0800 (PST) X-Gm-Message-State: AOJu0Yzw2F+oyllVMWQLaoxnnemY4vERvIeEj911+u6v0awcx7JugZSI bEkDwbSbIdU0AJ9iXDf7SAai7azt5JbaxgYWpQ4= X-Received: by 2002:a81:ae53:0:b0:5fa:f8b7:80d4 with SMTP id g19-20020a81ae53000000b005faf8b780d4mr116484ywk.89.1704994108587; Thu, 11 Jan 2024 09:28:28 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240111154138.7605-1-n.zhandarovich@fintech.ru> In-Reply-To: <20240111154138.7605-1-n.zhandarovich@fintech.ru> From: "Jason A. Donenfeld" Date: Thu, 11 Jan 2024 18:28:16 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net] wireguard: receive: annotate data-race around receiving_counter.counter To: n.zhandarovich@fintech.ru Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , wireguard@lists.zx2c4.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot , syzbot+d1de830e4ecdaac83d89@syzkaller.appspotmail.com Content-Type: text/plain; charset="UTF-8" Thanks. Jann pointed me at this a few days ago and I was just looking into it. Send a v2 with Eric's suggestion and I'll queue it up? Jason