Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp467054pxu; Tue, 5 Jan 2021 16:50:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0qqItERm4PRzaYX/G1cATcbvxSGEeiWxcDWomvaquZltamaeSCo7FnQ45bkHztl1jO8Ud X-Received: by 2002:a17:906:a106:: with SMTP id t6mr1297094ejy.63.1609894211483; Tue, 05 Jan 2021 16:50:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609894211; cv=none; d=google.com; s=arc-20160816; b=yXiCej8HrcpgsDJ/fAMzNxaGlW5vmFLkadat/zFpslEJfcu22X0kNHiVS3Q3ryPEq2 3BSaQc15wuWqPiIDScBjyNUIVEcQ28o1yy38JT98bGHSQZKgBAJqsY7UQI0iU2RwlroE 5MZzh+cKxZh5iCVGmjqpzH+BI9NRphatOp2UAKXALfCJ7g5C3+aJn7mB7GkpgD+0H5k9 3TIYk92Ph5+plrQoEq5MerKWKqKNL+e0cmfKhWl3HS0+xdIkRGnaCctXvEq4E50aZqmi s9uTkiBm+n+ip8mHGn4TqSmIglh6yHKevwdvJ7wlFpHrrgB6dTySEI11fivr/7QzBr7e Smxg== 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 :references:in-reply-to:from:subject:cc:to:message-id:date; bh=ai225feujxqMd+Di/psOSRnLX0Tj7GGqa41Zufw0nSA=; b=tVg7CC0o97gPU1BByLzpmBXLV8rOfvXBIsPXmrYxUHnxRTvPrVWG2/2g0l0vZ9EuJC WDdNgTWP+l18yS5mGaGAqPBsCXa+qGHc2EIwu3N7stFFSlT1kJAcvuceGyn+IUE7q5Nk fK7kA2jEG3y8mCxJCbN1X42pM/AvicSujYh4h4CGxqCQhl9ZzVxiketrN/c0H2mHOdwY abvZqkn2QNt7MLhCsAm72eYLmNn1ojHz5yNgwM2RAU7cs8DXj6NpumuXtJjuyIoaOW8y 8NS6epXmZuR323SuzCpq1xXacHqOIOMzu70JCXYSY4q1yP5WCV3mYVdfz+/axJAFbUkV OQuQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y24si320153edv.565.2021.01.05.16.49.48; Tue, 05 Jan 2021 16:50:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727243AbhAFAGD (ORCPT + 99 others); Tue, 5 Jan 2021 19:06:03 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:52452 "EHLO mail.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727230AbhAFAGC (ORCPT ); Tue, 5 Jan 2021 19:06:02 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) by mail.monkeyblade.net (Postfix) with ESMTPSA id F22AD4CE685B6; Tue, 5 Jan 2021 16:05:21 -0800 (PST) Date: Tue, 05 Jan 2021 16:05:21 -0800 (PST) Message-Id: <20210105.160521.1279064249478522010.davem@davemloft.net> To: zhutong@amazon.com Cc: sashal@kernel.org, edumazet@google.com, vvs@virtuozzo.com, netdev@vger.kernel.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] neighbour: Disregard DEAD dst in neigh_update From: David Miller In-Reply-To: <20201230225415.GA490@ucf43ac461c9a53.ant.amazon.com> References: <20201230225415.GA490@ucf43ac461c9a53.ant.amazon.com> X-Mailer: Mew version 6.8 on Emacs 27.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail.monkeyblade.net [0.0.0.0]); Tue, 05 Jan 2021 16:05:22 -0800 (PST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tong Zhu Date: Wed, 30 Dec 2020 17:54:23 -0500 > In 4.x kernel a dst in DST_OBSOLETE_DEAD state is associated > with loopback net_device and leads to loopback neighbour. It > leads to an ethernet header with all zero addresses. > > A very troubling case is working with mac80211 and ath9k. > A packet with all zero source MAC address to mac80211 will > eventually fail ieee80211_find_sta_by_ifaddr in ath9k (xmit.c). > As result, ath9k flushes tx queue (ath_tx_complete_aggr) without > updating baw (block ack window), damages baw logic and disables > transmission. > > Signed-off-by: Tong Zhu Please repost with an appropriate Fixes: tag. Thanks.