Re: [patch net-next 15/26] bonding: allow notifications for bond_set_slave_link_state

2015-12-02 Thread Jiri Pirko
Wed, Dec 02, 2015 at 12:27:09PM CET, niko...@cumulusnetworks.com wrote: >On 12/01/2015 02:48 PM, Jiri Pirko wrote: >> From: Jiri Pirko >> >> Similar to state notifications. >> >> We allow caller to indicate if the notification should happen now or later, >> depending on if he holds rtnl mutex or

Re: [patch net-next 15/26] bonding: allow notifications for bond_set_slave_link_state

2015-12-02 Thread Nikolay Aleksandrov
On 12/01/2015 02:48 PM, Jiri Pirko wrote: > From: Jiri Pirko > > Similar to state notifications. > > We allow caller to indicate if the notification should happen now or later, > depending on if he holds rtnl mutex or not. Introduce bond_slave_link_notify > function (similar to bond_slave_state_

[patch net-next 15/26] bonding: allow notifications for bond_set_slave_link_state

2015-12-01 Thread Jiri Pirko
From: Jiri Pirko Similar to state notifications. We allow caller to indicate if the notification should happen now or later, depending on if he holds rtnl mutex or not. Introduce bond_slave_link_notify function (similar to bond_slave_state_notify) which is later on called with rtnl mutex and goe