Message ID | 202012030907.0B397pnV002247@vz7build.vvs.sw.ru |
---|---|
State | New |
Series | "Series without cover letter" |
Headers | show
Delivered-To: criupatchwork@gmail.com Received: from imap.gmail.com [108.177.119.109] by patchwork.criu.org with IMAP (fetchmail-6.4.8) for <root@localhost> (single-drop); Thu, 03 Dec 2020 10:08:25 +0100 (CET) Received: by 2002:a9a:4d14:0:b029:97:cf3a:849f with SMTP id h20csp182348lko; Thu, 3 Dec 2020 01:08:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJysYCBQuEhkkswZvVCf2RsM1fPrMIz4Pwq0jjBn3bjwUZ+uQKUSGypxxP1vcZPUWwhTlH7/ X-Received: by 2002:a05:651c:cb:: with SMTP id 11mr883521ljr.159.1606986499044; Thu, 03 Dec 2020 01:08:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606986499; cv=none; d=google.com; s=arc-20160816; b=YrS93sVilz6StvH1u+ktxtepBVL4NFZw9+DJFjuqB2Jyf+DtEONtUBker0r8yXctD7 Bvs6BxrEFPxMuyEQQQKTHdB3gA1l1gO2OFV0MFIltWYtd+uSNiMY1voDUCW5biWa85Q7 EyZC90JoTMQLkJli0U90cuCXYbs9gt+49ylCqBW1zcW1mOrLz4ZxmzKeL+lramQmHaN1 LYvaVn43C8S101o5M0RAF3grwh1u8+tKOTBommUEXjfW+fOhk2xj/yEH3vLEyN0h9frd v6qBCjmreUvxcO4jVjimoUd6m2mhKQ3uyZm2m+ig8fwVYWjIqDy9Mo7RN7tcr5XTizlx Nzvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:in-reply-to:to:from:message-id:date; bh=DthvvRaFLLOx7QyKHnjobfksSeb26FvPNuiVPTpVO+w=; b=jCEmJgW4EkJpcf4ZGNC6JObpUJcGggZddoD05AbM2arsr8DdvM7SMGkbfrff2bJ5AQ Zu2aXivFSzuK+lkzaYqkgbbqWTAMnYZSXf4pI/RRWRxHDyq6RkfVeXipRlCTovOCXyCp JerjMQ4a+KOvNk0no/yk/TXX5pdNgPdoZMsc9v/Hl3b44hGD0jPT57bByRV22jjUImjS nj8UqLL0TpKT5oGAx2KJSCynsZtEiIHlVpA166ug2+SMiLo7tqTF8VOW4cr4WIW5jJoN RNV1fLJ9OnMrE2kGAg/Xs6SOO5s/95xbWl7dZyy5+WazADLIt5H2BzywGSINfbPr6cDy Kz1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devel-bounces@openvz.org designates 185.231.241.50 as permitted sender) smtp.mailfrom=devel-bounces@openvz.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Return-Path: <devel-bounces@openvz.org> Received: from mail.openvz.org (mail.openvz.org. [185.231.241.50]) by mx.google.com with ESMTPS id d5si662731lfe.482.2020.12.03.01.08.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Dec 2020 01:08:19 -0800 (PST) Received-SPF: pass (google.com: domain of devel-bounces@openvz.org designates 185.231.241.50 as permitted sender) client-ip=185.231.241.50; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devel-bounces@openvz.org designates 185.231.241.50 as permitted sender) smtp.mailfrom=devel-bounces@openvz.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from localhost.localdomain (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 0B3982pk024280; Thu, 3 Dec 2020 12:08:02 +0300 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05lp2171.outbound.protection.outlook.com [104.47.17.171]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 0B3980cG024273 for <devel@openvz.org>; Thu, 3 Dec 2020 12:08:00 +0300 Received: from DU2PR04CA0084.eurprd04.prod.outlook.com (2603:10a6:10:232::29) by PA4PR08MB5966.eurprd08.prod.outlook.com (2603:10a6:102:ee::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Thu, 3 Dec 2020 09:08:04 +0000 Received: from DB5EUR01FT031.eop-EUR01.prod.protection.outlook.com (2603:10a6:10:232:cafe::46) by DU2PR04CA0084.outlook.office365.com (2603:10a6:10:232::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.20 via Frontend Transport; Thu, 3 Dec 2020 09:08:04 +0000 Authentication-Results: spf=pass (sender IP is 185.231.240.75) smtp.mailfrom=virtuozzo.com; openvz.org; dkim=none (message not signed) header.d=none; openvz.org; dmarc=pass action=none header.from=virtuozzo.com; Received-SPF: Pass (protection.outlook.com: domain of virtuozzo.com designates 185.231.240.75 as permitted sender) receiver=protection.outlook.com; client-ip=185.231.240.75; helo=relay3.sw.ru; Received: from relay3.sw.ru (185.231.240.75) by DB5EUR01FT031.mail.protection.outlook.com (10.152.4.253) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Thu, 3 Dec 2020 09:08:03 +0000 Received: from [172.16.53.199] (helo=vz7build.vvs.sw.ru) by relay3.sw.ru with esmtp (Exim 4.94) (envelope-from <vvs@virtuozzo.com>) id 1kkkac-00BY2R-JP; Thu, 03 Dec 2020 12:07:50 +0300 Received: from vz7build.vvs.sw.ru (localhost [127.0.0.1]) by vz7build.vvs.sw.ru (8.14.7/8.14.7) with ESMTP id 0B397paa002248; Thu, 3 Dec 2020 12:07:51 +0300 Received: (from vvs@localhost) by vz7build.vvs.sw.ru (8.14.7/8.14.7/Submit) id 0B397pnV002247; Thu, 3 Dec 2020 12:07:51 +0300 Date: Thu, 3 Dec 2020 12:07:51 +0300 Message-Id: <202012030907.0B397pnV002247@vz7build.vvs.sw.ru> X-Authentication-Warning: vz7build.vvs.sw.ru: vvs set sender to vvs@virtuozzo.com using -f From: Vasily Averin <vvs@virtuozzo.com> To: Vasily Averin <vvs@virtuozzo.com> In-Reply-to: <2098d865-5fd7-0b8b-b246-7fb2979957c5@virtuozzo.com> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 57800a96-5d7a-440a-81b1-08d8976af0e9 X-MS-TrafficTypeDiagnostic: PA4PR08MB5966: X-Forefront-Antispam-Report: CIP:185.231.240.75; CTRY:RU; LANG:en; SCL:-1; SRV:; IPV:CAL; SFV:SKN; H:relay3.sw.ru; PTR:relay.sw.ru; CAT:NONE; SFS:; DIR:INB; X-MS-Oob-TLC-OOBClassifiers: OLM:328; X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?8yk/weBP6JadTGdGNNHL/L07LFF4xd4OU8RlM2za2jgSY2n+JcLpU69QHaZV?= =?us-ascii?Q?VHqh8uA85eDsFN6/twUSG7wnOIBdwm76c15cQVRY4UZ8k4PLNGZX/FaTHjOE?= =?us-ascii?Q?KJd8OwryAI1txtUcPaytNdLz4mGkaqUR0Vwz+0pdOqlNjZKD+symlDhXIPGA?= =?us-ascii?Q?LkkR4Wszsrn91zJyOCQkKvcmGGeZAAqT4x/DZuXIgdzTvbEg75eP/pSvzxUR?= =?us-ascii?Q?J583zsIUDuYDJF7XlW1U6zGX3zRuwEWusJOVWAktnrrOCSMnzXcWWxF9Oxcp?= =?us-ascii?Q?30A4o2msMofT27+Hnof7ZVaZiXC9fVJplmwkle2BDERwR92VNJZHAmujueu4?= =?us-ascii?Q?Qnjx8IChai63fcr1HyEJezPy2KhGm6JrqzM1sGXHjFlRBP8hpBXF+VrDTQ4x?= =?us-ascii?Q?ySSLI6Qxx4vL4Ylb6Dkfy+I3N8x6LMWxGrjZ+eaAGxjvvuN9vV5KzLUyOXqM?= =?us-ascii?Q?m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povD3OQKH7+hpjYnmJmPn?= =?us-ascii?Q?nMzNj6AQpW/UB23RQtH3YpOgl0Cq/V+rEIcXYALYm1JjUpoFpQLBTCX+DFeo?= =?us-ascii?Q?h/XGWwdcfYZXLjvu8iKf1ogeN3ict1jUTNlvtIZQjQP77cjxvjm25js/4dHU?= =?us-ascii?Q?MZzC3eawgxlX8Q4=3D?= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2020 09:08:03.6967 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 57800a96-5d7a-440a-81b1-08d8976af0e9 X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0bc7f26d-0264-416e-a6fc-8352af79c58f; Ip=[185.231.240.75]; Helo=[relay3.sw.ru] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT031.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB5966 X-MS-Exchange-CrossPremises-OriginalClientIPAddress: 185.231.240.75 X-MS-Exchange-CrossPremises-TransportTrafficType: Email X-MS-Exchange-CrossPremises-AuthSource: DB5EUR01FT031.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossPremises-AuthAs: Anonymous X-MS-Exchange-CrossPremises-SCL: -1 X-MS-Exchange-CrossPremises-Processed-By-Journaling: Journal Agent X-OrganizationHeadersPreserved: PA4PR08MB5966.eurprd08.prod.outlook.com Cc: OpenVZ devel <devel@openvz.org> Subject: [Devel] [PATCH RHEL7 COMMIT] ms/netfilter: ipset: Correct rcu_dereference() call in ip_set_put_comment() X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development <devel.openvz.org> List-Unsubscribe: <https://lists.openvz.org/mailman/options/devel>, <mailto:devel-request@openvz.org?subject=unsubscribe> List-Archive: <http://lists.openvz.org/pipermail/devel/> List-Post: <mailto:devel@openvz.org> List-Help: <mailto:devel-request@openvz.org?subject=help> List-Subscribe: <https://lists.openvz.org/mailman/listinfo/devel>, <mailto:devel-request@openvz.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org |
diff --git a/include/linux/netfilter/ipset/ip_set_comment.h b/include/linux/netfilter/ipset/ip_set_comment.h index 8e2bab1..70877f8d 100644 --- a/include/linux/netfilter/ipset/ip_set_comment.h +++ b/include/linux/netfilter/ipset/ip_set_comment.h @@ -43,11 +43,11 @@ ip_set_init_comment(struct ip_set *set, struct ip_set_comment *comment, rcu_assign_pointer(comment->c, c); } -/* Used only when dumping a set, protected by rcu_read_lock_bh() */ +/* Used only when dumping a set, protected by rcu_read_lock() */ static inline int ip_set_put_comment(struct sk_buff *skb, const struct ip_set_comment *comment) { - struct ip_set_comment_rcu *c = rcu_dereference_bh(comment->c); + struct ip_set_comment_rcu *c = rcu_dereference(comment->c); if (!c) return 0;