Re: [dpdk-dev] [PATCH v2] net/bonding: fix race condition

2018-08-04 Thread Thomas Monjalon
27/07/2018 12:55, Chas Williams: > On Wed, Jul 25, 2018 at 5:46 AM Radu Nicolau wrote: > > > Race condition can appear in the bond_mode_8023ad_periodic_cb() > > callback when bonding port is stopped, reconfigured and restarted. > > > > Re-ordered calls in bond_ethdev_start() to have callback alar

Re: [dpdk-dev] [PATCH v2] net/bonding: fix race condition

2018-07-27 Thread Chas Williams
On Wed, Jul 25, 2018 at 5:46 AM Radu Nicolau wrote: > Race condition can appear in the bond_mode_8023ad_periodic_cb() > callback when bonding port is stopped, reconfigured and restarted. > > Re-ordered calls in bond_ethdev_start() to have callback alarm set > after slave ports are reconfigured. >

[dpdk-dev] [PATCH v2] net/bonding: fix race condition

2018-07-25 Thread Radu Nicolau
Race condition can appear in the bond_mode_8023ad_periodic_cb() callback when bonding port is stopped, reconfigured and restarted. Re-ordered calls in bond_ethdev_start() to have callback alarm set after slave ports are reconfigured. Fixes: 2efb58cbab6e ("bond: new link bonding library") Cc: sta.