From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2AD7BC2B9F4 for ; Sat, 19 Jun 2021 06:54:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 04B0C6120A for ; Sat, 19 Jun 2021 06:54:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232249AbhFSG4G (ORCPT ); Sat, 19 Jun 2021 02:56:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:35196 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232132AbhFSG4G (ORCPT ); Sat, 19 Jun 2021 02:56:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DA73F611ED; Sat, 19 Jun 2021 06:53:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624085634; bh=9zVgCgDQ+NOxiIF7+ECaA7+MU7v9th8KjjE0Os3Fn0o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Sar6mLxr/jwJlrmylCm9dGKioONPk6SEMyDhSVxa817uR9okfO8FvYkkDtoyrNcgz fuNGwEbHn6sXSS2bBeKKYFITYvPzanXi3YIOgdy+kffViLJAV42JxYxX+X5nNmF6+Q 6ujJ9xaTvqxNpoHnzG1Rzn1LbH35nvMErXuY1md8= Date: Sat, 19 Jun 2021 08:45:57 +0200 From: Greg Kroah-Hartman To: Alexander Tsoy Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Abaci Robot , Jiapeng Chong , "David S. Miller" , Sasha Levin Subject: Re: [PATCH 5.10 35/38] rtnetlink: Fix missing error code in rtnl_bridge_notify() Message-ID: References: <20210616152835.407925718@linuxfoundation.org> <20210616152836.507544876@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Sat, Jun 19, 2021 at 02:58:28AM +0300, Alexander Tsoy wrote: > В Ср, 16/06/2021 в 17:33 +0200, Greg Kroah-Hartman пишет: > > From: Jiapeng Chong > > > > [ Upstream commit a8db57c1d285c758adc7fb43d6e2bad2554106e1 ] > > > > The error code is missing in this code scenario, add the error code > > '-EINVAL' to the return value 'err'. > > > > Eliminate the follow smatch warning: > > > > net/core/rtnetlink.c:4834 rtnl_bridge_notify() warn: missing error code > > 'err'. > > This patch breaks systemd-resolved. It is 100% reproducible on two of > my systems, but there are also systems where I cannot reproduce it. The > problem manifests itself as SERVFAIL on every DNS query. > > Just reverting this patch from 5.10.45 fixes the problem for me. Is Linus's tree also broken for you? It should be reverted there first. thanks, greg k-h