[PATCH] net/bonding: fix device configure reentrancy
    Stephen Hemminger 
    stephen at networkplumber.org
       
    Tue Nov  1 20:32:35 CET 2022
    
    
  
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?
    
    
More information about the dev
mailing list