Re: [PATCH] bonding: Don't update slave->link until ready to commit

2017-05-25 Thread David Miller
From: Nithin Nayak Sujir Date: Wed, 24 May 2017 19:45:17 -0700 > In the loadbalance arp monitoring scheme, when a slave link change is > detected, the slave->link is immediately updated and slave_state_changed > is set. Later down the function, the rtnl_lock is acquired and the > changes are comm

Re: [PATCH] bonding: Don't update slave->link until ready to commit

2017-05-24 Thread महेश बंडेवार
On Wed, May 24, 2017 at 7:45 PM, Nithin Nayak Sujir wrote: > In the loadbalance arp monitoring scheme, when a slave link change is > detected, the slave->link is immediately updated and slave_state_changed > is set. Later down the function, the rtnl_lock is acquired and the > changes are committed

[PATCH] bonding: Don't update slave->link until ready to commit

2017-05-24 Thread Nithin Nayak Sujir
In the loadbalance arp monitoring scheme, when a slave link change is detected, the slave->link is immediately updated and slave_state_changed is set. Later down the function, the rtnl_lock is acquired and the changes are committed, updating the bond link state. However, the acquisition of the rtn