From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] add support of IFF_XMIT_DST_RELEASE bit in vlan Date: Sat, 04 Nov 2017 22:33:28 +0900 (KST) Message-ID: <20171104.223328.291994442026260461.davem@davemloft.net> References: <1509630060.579619.2194.nullmailer@mnt-myt.yandex.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com, pstaszewski@itcare.pl To: vfedorenko@yandex-team.ru Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:59922 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751643AbdKDNde (ORCPT ); Sat, 4 Nov 2017 09:33:34 -0400 In-Reply-To: <1509630060.579619.2194.nullmailer@mnt-myt.yandex.net> Sender: netdev-owner@vger.kernel.org List-ID: From: Vadim Fedorenko Date: Thu, 2 Nov 2017 15:49:08 +0300 > Some time ago Eric Dumazet suggested a "hack the IFF_XMIT_DST_RELEASE > flag on the vlan netdev". But the last comment was "does not support > properly bonding/team.(If the real_dev->privflags IFF_XMIT_DST_RELEASE > bit changes, we want to update all the vlans at the same time )" > > I've extended that patch to support changes of IFF_XMIT_DST_RELEASE in > bonding/team. > Both bonding and team call netdev_change_features() after recalculation > of features including priv_flags IFF_XMIT_DST_RELEASE bit. So the only > thing needed to support is to recheck this bit in > vlan_transfer_features(). > > Suggested-by: Eric Dumazet > Signed-off-by: Vadim Fedorenko Applied, thank you.