[Devel] [PATCH] venet: VEIP release debug patch

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Mon Nov 27 17:56:33 MSK 2017


Sorry, ignore

27.11.2017 15:48, Stanislav Kinsburskiy пишет:
> Needed to investigate VEIP release - CT stop race.
> 
> https://jira.sw.ru/browse/PSBM-78078
> 
> Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
> ---
>  drivers/net/venetdev.c |    6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/venetdev.c b/drivers/net/venetdev.c
> index 11f4a66..dcdb51d 100644
> --- a/drivers/net/venetdev.c
> +++ b/drivers/net/venetdev.c
> @@ -256,8 +256,12 @@ static void __veip_stop(struct ve_struct *ve)
>  		ptr = list_entry(p, struct ip_entry_struct, ve_list);
>  		ptr->active_env = NULL;
>  
> -		if (ptr->tgt_veip == NULL)
> +		if (ptr->tgt_veip == NULL) {
> +			printk("%s: removing IP for ve %d\n", __func__,
> +					ptr->tgt_veip->veid);
> +			dump_stack();
>  			ip_entry_unhash(ptr);
> +		}
>  	}
>  
>  	veip_pool_ops->veip_release(ve);
> 
> _______________________________________________
> Devel mailing list
> Devel at openvz.org
> https://lists.openvz.org/mailman/listinfo/devel
> 


More information about the Devel mailing list