[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140116.172750.117356776052290343.davem@davemloft.net>
Date: Thu, 16 Jan 2014 17:27:50 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: vfalico@...hat.com
Cc: netdev@...r.kernel.org, dingtianhong@...wei.com, fubar@...ibm.com,
andy@...yhouse.net
Subject: Re: [PATCH v4 net-next] bonding: handle slave's name change with
primary_slave logic
From: Veaceslav Falico <vfalico@...hat.com>
Date: Thu, 16 Jan 2014 02:04:29 +0100
> Currently, if a slave's name change, we just pass it by. However, if the
> slave is a current primary_slave, then we end up with using a slave, whose
> name != params.primary, for primary_slave. And vice-versa, if we don't have
> a primary_slave but have params.primary set - we will not detected a new
> primary_slave.
>
> Fix this by catching the NETDEV_CHANGENAME event and setting primary_slave
> accordingly. Also, if the primary_slave was changed, issue a reselection of
> the active slave, cause the priorities have changed.
>
> Reported-by: Ding Tianhong <dingtianhong@...wei.com>
> CC: Ding Tianhong <dingtianhong@...wei.com>
> CC: Jay Vosburgh <fubar@...ibm.com>
> CC: Andy Gospodarek <andy@...yhouse.net>
> Signed-off-by: Veaceslav Falico <vfalico@...hat.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists