[PATCH] net/bonding: fix device configure reentrancy

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Sun Nov 6 10:35:48 CET 2022


On 11/1/22 22:32, Stephen Hemminger wrote:
> On Tue,  1 Nov 2022 19:18:53 +0300
> Ivan Malov <ivan.malov at oktetlabs.ru> wrote:
> 
>> diff --git a/drivers/net/bonding/eth_bond_private.h b/drivers/net/bonding/eth_bond_private.h
>> index d067ea8c9a..7171516d0d 100644
>> --- a/drivers/net/bonding/eth_bond_private.h
>> +++ b/drivers/net/bonding/eth_bond_private.h
>> @@ -184,6 +184,8 @@ struct bond_dev_private {
>>   
>>   	void *vlan_filter_bmpmem;		/* enabled vlan filter bitmap */
>>   	struct rte_bitmap *vlan_filter_bmp;
>> +
>> +	bool kvargs_processing_is_done;
>>   };
> 
> Minor nit: why not use existing hole in data structure after slave_update_idx?
> 

Good idea, I'll update it on applying. Thanks.



More information about the dev mailing list