On Thu, Jun 20, 2019 at 09:49:12PM +0200, Pablo Neira Ayuso wrote:
...
> @@ -1173,8 +1191,10 @@ static int tcf_block_offload_cmd(struct tcf_block 
> *block,
>       struct tc_block_offload bo = {};
>       int err;
>  
> +     bo.net = dev_net(dev);
>       bo.command = command;
>       bo.binder_type = ei->binder_type;
> +     bo.net = dev_net(dev),
                             ^
And it's assigning the same thing twice in this chunk.

>       bo.block = block;
>       bo.extack = extack;
>       INIT_LIST_HEAD(&bo.cb_list);
> -- 
> 2.11.0
> 

Reply via email to