Re: [Patch net] bonding: commit link status change after propose

2017-07-26 Thread David Miller
From: Cong Wang Date: Tue, 25 Jul 2017 09:44:25 -0700 > Commit de77ecd4ef02 ("bonding: improve link-status update in mii-monitoring") > moves link status commitment into bond_mii_monitor(), but it still relies > on the return value of bond_miimon_inspect() as the hint. We need to return > non-zer

Re: [Patch net] bonding: commit link status change after propose

2017-07-25 Thread महेश बंडेवार
On Tue, Jul 25, 2017 at 9:44 AM, Cong Wang wrote: > Commit de77ecd4ef02 ("bonding: improve link-status update in mii-monitoring") > moves link status commitment into bond_mii_monitor(), but it still relies > on the return value of bond_miimon_inspect() as the hint. We need to return > non-zero as

[Patch net] bonding: commit link status change after propose

2017-07-25 Thread Cong Wang
Commit de77ecd4ef02 ("bonding: improve link-status update in mii-monitoring") moves link status commitment into bond_mii_monitor(), but it still relies on the return value of bond_miimon_inspect() as the hint. We need to return non-zero as long as we propose a link status change. Fixes: de77ecd4ef