Received: by 2002:ab2:5d18:0:b0:1ef:7a0f:c32d with SMTP id j24csp192499lqk; Sat, 9 Mar 2024 06:10:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUdM9sPBCSUClH7hI3Wp0pYWZ0IB9eU5Jx1JppMy5bts329nzGdwet4MM41T2zgOl3Q7Xai2fr7+/YUI8WYf2z2y3iw5I/Z5JoUOn9ROQ== X-Google-Smtp-Source: AGHT+IEuoRw4KqbZ8oHMSVFz4Gb1MkJU2WfIjAvwsfFNCUsCjMQ9rYM3um1I3wql48OO8/VnDZKj X-Received: by 2002:a50:d483:0:b0:567:2cf:1ecc with SMTP id s3-20020a50d483000000b0056702cf1eccmr1347447edi.30.1709993455104; Sat, 09 Mar 2024 06:10:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709993455; cv=pass; d=google.com; s=arc-20160816; b=bU89jSB7BEWYlPm/yH5iGZFIYFQ+hO/kF4Z+Y4sftr3HonlfHvq7WM189ye6zNZPDd /hVYClMRsgCL+ZLnOJ1LA+s1k+NPBRmSJ5B+0vdLUdKJnaXSOIGCD2n/RD5YwGRKaowq o60+khPeq2XPG/yVglD/hHQfOZi8+uJtBQHKGGDQpdlpjfpxL+r8JuiZnw3nm/SYyiN3 fD58GDZqp3Fa5x7hPnlLceIJC+wC/rxDJE51pHOlAUwBB4/UhgwFlolTjT6b78P+v6/O SJ0l2uGKUhtWFTu/iQJyVxP258604FeSSYYAWfLiPXRd6MmZJhFvYKrHZ30Dtg7dbduU tfzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:date :subject:cc:to:from:message-id:dkim-signature; bh=maIUddBIRkixT08jMamIHlx6Ic+Z9RInYiboQrgEs6s=; fh=lZkpYXsXOCt7iV9Aki0EmJzpfvVJ274THZ1CN1C1H8U=; b=wXVe2QGFM4Z7Wo4X16rP5L0RsmFZRCVi7waeaM8hphKGnimEEbt/rnVT9Mp78yhe+6 esfBrEQkHOkSojYEoKLRJoJthnJwYcw72zJfH59Moapi+iroM4qonpIpnB/QgZM3kxU4 H0x/u+9YvsHyeFChqihCizDGLLyFv44m5gW2tSSkPLVJ4elCICJkyw5k/gl/citaaPeA huwwKHrrT3dhUK5LOYUgk4j63WTHoKLVmfqp7i7DIJcZVIavvJx83p6tNLTWufbFMX4U /vdtg0kxYYF+UpbUTYxrdHCaj1dW1o3/x4uM7W7BuTTf7eyQKc4Yc1QyiklCpx+MA0kI vvvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=JVzGrDL2; arc=pass (i=1 spf=pass spfdomain=qq.com dkim=pass dkdomain=qq.com dmarc=pass fromdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-97916-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97916-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=qq.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h1-20020a0564020e8100b0056830b941a5si794947eda.227.2024.03.09.06.10.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 06:10:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97916-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=JVzGrDL2; arc=pass (i=1 spf=pass spfdomain=qq.com dkim=pass dkdomain=qq.com dmarc=pass fromdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-97916-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97916-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=qq.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 am.mirrors.kernel.org (Postfix) with ESMTPS id CDD3C1F215C1 for ; Sat, 9 Mar 2024 14:10:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3445842059; Sat, 9 Mar 2024 14:10:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b="JVzGrDL2" Received: from out203-205-251-66.mail.qq.com (out203-205-251-66.mail.qq.com [203.205.251.66]) (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 A30F71BDF4; Sat, 9 Mar 2024 14:10:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.205.251.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709993445; cv=none; b=mjQD+QxRmCFXWqVKmn+YTXs5YtggaW0ZLQP21EK4rdxzamcUBcicbbYdNL2SCskIpNtK9eys86XeKd4ik/9/Ygj5tOKPICbLeDA1bwy3KFOjlG4rVA6qoZypa1d+dLVS5dKD1ZxNs60FLP4Meok+hNAdPbNoIYtURcdxr2kvuOM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709993445; c=relaxed/simple; bh=maIUddBIRkixT08jMamIHlx6Ic+Z9RInYiboQrgEs6s=; h=Message-ID:From:To:Cc:Subject:Date:In-Reply-To:References: MIME-Version; b=M5ZW5IQu8fLVq4khRcqyTeIIg2DJH5OUnhIBzMAr28EjKv7SvJTw8LWh8EEjYqtvKkSZhfTfT5VEhQzCoKDjIN3C6ZoQUdx/9N7V6WNvF4EVo86ym7mwUj21OCNlohjt81TrD1tzflf1Jbhn6Y00wT8mHQL7MnQO4fHZvARA+ys= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=qq.com; spf=pass smtp.mailfrom=qq.com; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b=JVzGrDL2; arc=none smtp.client-ip=203.205.251.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=qq.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qq.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1709993133; bh=maIUddBIRkixT08jMamIHlx6Ic+Z9RInYiboQrgEs6s=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=JVzGrDL29LVUN/yydIMy2NGYJM2EyEidTzZUQ0gLqzXXou8Q5yqxWOrqNPBKdRg88 B2FT+CGmxVvktX5dmAjqqDZrq8rN12bQix1RdgxW5tmLqNFN25WH9/BkxZOJ5r+dxU 2aLqKL4x/K9n+t0bmYsmRg4MRzILDT5IcBPkqYes= Received: from localhost.localdomain ([58.213.8.163]) by newxmesmtplogicsvrszb9-1.qq.com (NewEsmtp) with SMTP id EC3A729C; Sat, 09 Mar 2024 21:59:03 +0800 X-QQ-mid: xmsmtpt1709992743tsey328q4 Message-ID: X-QQ-XMAILINFO: NiAdzfE16ND4bolk1M35OWX6STXNtKuQPLdhDd/JkFmdm5wIJTCi649pCSKM8M 5uyPE9F9cX+lpf9GA+o4h+QfDkgnSsXsQrWD3WmXxTno2qDQAyxX4p4c4PqbM5ZIj6FIqwwrzNYx XrwPrsCxHmZa5dPWRvDQnXlg0XYblyTTjeI0SzPbd7K/okRDzEDS93pLksKWsnewPRINUck8iTyz ps7efNFJGutn7vybZyaXRmdpX73/ltUA4j2RFeEygGbobECdsB/13h78gf5vYe5eWXhx4GBp36y4 9DeBui7+MRVQDqjV31MykaWxSJ/8gelC4nOws1ga9zJrhVwCc9SdpiIBmJxKd16PCFyFpgOP+0j2 6NVlqeB9PKmR0pSFc7h0JaLZsqHgZU7Ry5IRuw49uP/qmejY5tWusbBSconD+h9bydyupHyQVAd/ AUzNG3JwUc0v3kLet5PfGlw+xxpAws20DHk9kcWZh0XD99UgzrbE4RNkPJmgtG7BSMs+4iw8SDoM 3hod25UGk+B2SqahuPz3QYj/XDBEGUc4dmZVYoA6hYLkZQNZlZfeFdAUTyIckoTNqzXuAzn8vJjC uAnsrM/EX6tHqaes5olJtXuAm7kmh4KN766ygYLQN4vkrI+Vg96gUM4VJnFMznPEZaovwok8/h0N tJnt6/GsVuCYTarATR3e7b2EQpaMWFGAI5bPTiEXgjA5zFVf209u3qHqpRr0xuLi64yyV9APzRQs r5Cl8HH9Gm+J//3AmzfdF73DvjTgdvef/GD+SyBCTqfE52aR3tvBTayPfMKLeC85gqOUf/4x6FAL 6qVI3l4Tm88xGAYaZ4bk1z4f1Sl54r2AcpaZ73N5Wb3gyFSInWIx0vcqR03keRitC1NW4hHK9BWQ lskAKk4rzevAtuqkugS2GsJYyA92BvHJdOz12Qi2iFZTv8tirxaLHI7WOwUw4tz7avx8GlpTBtDJ eaGuVmFgbfLgkZ3guPoCh7sZjMuT0aiERUF6bm4JpQfYhBaJfNK8FDoqViI0qeA2RNQQ478e1FPQ fPFZ06eg== X-QQ-XMRINFO: NS+P29fieYNw95Bth2bWPxk= From: linke li To: edumazet@google.com Cc: alexander@mihalicyn.com, davem@davemloft.net, dhowells@redhat.com, kuba@kernel.org, kuniyu@amazon.com, leitao@debian.org, lilinke99@qq.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, willemb@google.com, wuyun.abel@bytedance.com Subject: Re: [PATCH] net: mark racy access on sk->sk_rcvbuf Date: Sat, 9 Mar 2024 21:59:02 +0800 X-OQ-MSGID: <20240309135902.57126-1-lilinke99@qq.com> X-Mailer: git-send-email 2.39.3 (Apple Git-146) In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit > OK, but what about __sock_queue_rcv_skb() in the same file ? I notice that, but I am not very sure whether there is a data race. If it is a similar situation, then the same patch should be applied too.