Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2206404rdg; Sun, 13 Aug 2023 14:21:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFIiHmCHQET1GnXHtqmd7rx6YIAeTkMsZq/B6S53SiLRWHKZyT4Ug+J1NngwsxIxWFwVU8+ X-Received: by 2002:a17:90a:b00c:b0:26b:4e59:57e7 with SMTP id x12-20020a17090ab00c00b0026b4e5957e7mr1989668pjq.43.1691961689642; Sun, 13 Aug 2023 14:21:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691961689; cv=none; d=google.com; s=arc-20160816; b=zDnah1M6D1VEmK+JkaY8/3tip3PQu//2pjjk1ELKfKGrLLh22iA3QGBbOhmoq82HPC kf9EqZOf0KnMASem7M8auDTtt62PT94a5vRkRMbP1Yf4d3wp9ibj2jFZsiaB7hFAJxWm 8ZlrCbgBgN8NllWrHRqryWnFh6vyjGOs0hivSZdrZeaT6MQhmtCN3fIp6avP0FInmWRM jkUEY2GzZOZvjxbft0NW9ChXFJl7pDfgWAKxWkMgjQCB8CE6JfsOiF22L0m+JWkaF2sT 6+P9GJbeVruE6shME3uyhmrh94kKr4MdTWg4qaqEQr6R9/B92RddTDu2at0yv/JgOYj3 i5GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=aAUGuClVCL2l6tb8cgm/NDi9zW81/np9gFGNuwtgWHo=; fh=IvchmrgxBwBqqcetFTUNluWBOXWPCs8w9B1FJsPizVI=; b=ybfCsEz8P58n/pKxFm04esYkFlDuvoWSKXAecon2viLMG0owYlZVu6sjivgoJanTz7 U9P2iyTEPloZtdSSTdapB4mB0+ih7rUnR3pbt22Q6yd3cznSieQ7O2/y87P9g4m9A4uX gQqPeliGj+Qu72SE5N2gn5lFQr6AzKergRlqxgURLS0npzbdJf7hkmQdJqDXQ65nsc2F riJJFN0SHcpmeuU1Z7G/4yWrGbiP7XBf9RMCMXe68EcchN2rxwpGw+ZxbcZwLWwBIQSW sqbAhLW2a70ttYLQbLSjm91gXzXBMrxtYXZpbrBfYhzwLTDQKSShxAYHZBuuvUDHJcww oAvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ispras.ru header.s=default header.b=TbNO57zV; 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=ispras.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pf14-20020a17090b1d8e00b0026577f28dbcsi9373539pjb.45.2023.08.13.14.21.10; Sun, 13 Aug 2023 14:21:29 -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=@ispras.ru header.s=default header.b=TbNO57zV; 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=ispras.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231605AbjHMUIh (ORCPT + 99 others); Sun, 13 Aug 2023 16:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbjHMUIh (ORCPT ); Sun, 13 Aug 2023 16:08:37 -0400 Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDB7710F6; Sun, 13 Aug 2023 13:08:38 -0700 (PDT) Received: from fpc.intra.ispras.ru (unknown [10.10.165.4]) by mail.ispras.ru (Postfix) with ESMTPSA id 51F4B40F1DCD; Sun, 13 Aug 2023 20:08:35 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ispras.ru 51F4B40F1DCD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ispras.ru; s=default; t=1691957315; bh=aAUGuClVCL2l6tb8cgm/NDi9zW81/np9gFGNuwtgWHo=; h=From:To:Cc:Subject:Date:From; b=TbNO57zV+byHKgV/3vOBM17f3NxsLFPORHq9sQFbJWfPzb0EZR3OmuwrLOAl7Yioz 3kqh/rNT/dU0L1UYvVWeuUcRZwzTS6Z2s+puPKU6DtdMewXPumHdhPP4Tgkes2fUz5 uOhBXj2QwlXcm6Wdb/0/G4JNuvVP9yrdCAPBh8u4= From: Fedor Pchelkin To: Greg Kroah-Hartman , stable@vger.kernel.org Cc: Fedor Pchelkin , Jamal Hadi Salim , Eric Dumazet , Jakub Kicinski , Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Khoroshilov , lvc-project@linuxtesting.org, Stephen Hemminger Subject: [PATCH 4.19/5.4/5.10/5.15/6.1 0/1] sch_netem: fix issues in netem_change() vs get_dist_table() Date: Sun, 13 Aug 2023 23:07:45 +0300 Message-Id: <20230813200746.288589-1-pchelkin@ispras.ru> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Commit 2174a08db80d ("sch_netem: acquire qdisc lock in netem_change()") was backported to older stables where it is causing 'sleeping in invalid context' bug. The following patch fixes the problem and can be cleanly applied to the stable branches affected. It was backported to 6.4.y about a month ago.