Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4043508rwb; Tue, 16 Aug 2022 13:21:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR7AjBLrNqq6yf/AO/BcpbogOl5WOyR5uNAsZvCClMgSUIUGP5DSPA9kPXdxpFaGcXjv65r7 X-Received: by 2002:a17:907:9606:b0:72f:826d:21b4 with SMTP id gb6-20020a170907960600b0072f826d21b4mr14482581ejc.510.1660681297444; Tue, 16 Aug 2022 13:21:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660681297; cv=none; d=google.com; s=arc-20160816; b=rOpyOCmzfez8GP/qfrzQ149tBavGq3mxVfVoa7165E2AIDqzHJZRUgMAfTAAA9aY8T AmSvSWcY1A/Xuzp1tburMy8NjHUh2b3ZFy/TgJtcI9/Ir9kcZhbEXquaU6vQzJkEFkcP YdO1A41fFBBe36PDFqhlhoNvabfoQwugcFqmAw9OxZdRoRGvnau17EyFFHFw5ebxjG1C nnq4BsdaQ8xdAgcOw2yH0EQTRvEziLgCeolPAXK7TMgaYMO8aC6z5PuSlGMA8H3iFhF9 pbO88yoyEMrF65bnVXuuwhZ2y3Gke9YZj5Kkkz32HrB1G7TlT5uVs7r4NnEELfXS4bNH pXUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=6xCqrELniyhJBUUBRNURlNrorTl407Wr59qxH3GJIvA=; b=LpUrLnpkhSSJuubZ+hlatPnVDFw4+O3TxmWTgkO6tyiFW5pqBLcf0xWVU3RzfDJxfE GUvmxN4ukf0jQHNyANDWNNLz8zDcz9mPzhv4B+PCPxW5l0MPjv3Yc01BypiB6SBTdjRP ug5K0s38EASFfbZ4J7kXs38rb+QyorJp9NQso+9pCGdNL8HPV7SG7zVI0PFZyfkvhRWm E1xPZZzEKvyytly+3bkh0a+Vxndg6Cnn8EvB2woWjar0ArZB2yLJ4W7JdILRlYWuHjaR u5GoE4Fj8fJwXNCbLayMUM5OCCiPm/+9RSyL77t2ewApH71VG9pYJWYr1ZODAabH2dSg pTaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KowLt9sV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a7-20020a50c307000000b0043bd88091dbsi9390311edb.522.2022.08.16.13.20.48; Tue, 16 Aug 2022 13:21:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KowLt9sV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236901AbiHPUBR (ORCPT + 99 others); Tue, 16 Aug 2022 16:01:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233708AbiHPUBQ (ORCPT ); Tue, 16 Aug 2022 16:01:16 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDA517E82B for ; Tue, 16 Aug 2022 13:01:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660680074; 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=6xCqrELniyhJBUUBRNURlNrorTl407Wr59qxH3GJIvA=; b=KowLt9sVJkGJ/667uzuMME8DAiJSf0eDde1jzcGaQ89HEwmSpZ2C4V9BN8U+6PSgXTkTkQ eif7S7JyOxj+s48rMJi7GtZs8LUl2e9g6ePsvNK2MVSONUpvizF14FXKalwzFN1ngUYQ7v e57o1aQDijTCP+i5zDMNEkOeI2RDeZE= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-132-IxGidGdfP4Wypnus5uUmIw-1; Tue, 16 Aug 2022 16:01:09 -0400 X-MC-Unique: IxGidGdfP4Wypnus5uUmIw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C90A23C0D84F; Tue, 16 Aug 2022 20:01:08 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id AA680140EBE3; Tue, 16 Aug 2022 20:01:06 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20220816112147.3aa8d35b@kernel.org> References: <20220816112147.3aa8d35b@kernel.org> <166064248071.3502205.10036394558814861778.stgit@warthog.procyon.org.uk> <20220816103452.479281-1-yin31149@gmail.com> To: Jakub Kicinski Cc: dhowells@redhat.com, Hawkins Jiawei , "David S. Miller" , Eric Dumazet , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, bpf@vger.kernel.org Subject: Re: [PATCH] net: Fix suspicious RCU usage in bpf_sk_reuseport_detach() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <592635.1660680066.1@warthog.procyon.org.uk> Date: Tue, 16 Aug 2022 21:01:06 +0100 Message-ID: <592636.1660680066@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_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 Jakub Kicinski wrote: > > +__rcu_dereference_sk_user_data_with_flags_check(const struct sock *sk, > > This name is insanely long now. I know. 47 chars. Do you have something you'd prefer? Maybe get_sk_user_data_checked()? It's a shame C doesn't allow default arguments. David