Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1246215pxv; Fri, 25 Jun 2021 08:32:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9ci+aWTzgO5Tfyfv0CJREwJEKWPcath0IOAqXrpj/qANt4zpvk06PxH2Lkk2wwODMZpsx X-Received: by 2002:a6b:3119:: with SMTP id j25mr8797158ioa.64.1624635177782; Fri, 25 Jun 2021 08:32:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624635177; cv=none; d=google.com; s=arc-20160816; b=YcdSxemXmo3BJwfhVJGb4HQGk6m1gSEuvh0aeTkUofKfAAYuoNpGO0o92wMcqnUSMj 18GhASkjUYTOmM7IG//xEPa/9kL+Rpf7TqDOYvwwsRbrRn407AheVoXp8hlNZrnVg4j3 KUFOb95lKp8sFRoAj40t2dP1hMm7x8851rilk1fq18G48WJbSbGZwyVfvXlC3xES5FPo bNzBos3Y3DTtMN3I1wmNlqOKNuk74OJD1xEXJqb0N3eKqn92bdMD92CNP3XV+jE2Jmwf XY4ImqlC8Y4qKU4BPDKc28XAkbW0QbYuSxvaa+ZBISfApFIZJ998TqEwKuhKCuG59BVW oAsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:reply-to:dkim-signature; bh=mFzT6pv8CC87cHK04Jv1CeT+CD9fTxFZC5Ewe+N2u6w=; b=BHC9IufTmCuPmWJRiAxk2KOhGuvwxLDWqA8Hq9TT1fjaVN8Ld6A+C1QHb2lBaG7w5B yWCfrLsUHabGuXMxjGbI5TQOoYfLf/s3NnvpLSnnijLYN39hwcyxmRxCvXZbSwY6N3Mi jKgrsE/Xn7VRwAHy1zbMgSGI2NnP0pXmbphTsKHLyN0C4LtrhzqRDLcHzNRh0itq4D3J m1D7VLqQvTBb8/6DBWylKt8HMtpVGO/ACqS6lbwiKyEeLupmPLRbZszmvXk/HU+o+HBd ukyR+t91jqHsI4bLa5/HQUhkMQ2I0jIg7dI0N4rfVKvj3ZQu9KOpMLPfee4IwZCTafAd ztYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@6wind.com header.s=google header.b=gQrCisuq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=6wind.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t16si5425264iom.8.2021.06.25.08.32.45; Fri, 25 Jun 2021 08:32:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@6wind.com header.s=google header.b=gQrCisuq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=6wind.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229741AbhFYPec (ORCPT + 99 others); Fri, 25 Jun 2021 11:34:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbhFYPec (ORCPT ); Fri, 25 Jun 2021 11:34:32 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B79CC061574 for ; Fri, 25 Jun 2021 08:32:11 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id p8-20020a7bcc880000b02901dbb595a9f1so6112228wma.2 for ; Fri, 25 Jun 2021 08:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=reply-to:subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mFzT6pv8CC87cHK04Jv1CeT+CD9fTxFZC5Ewe+N2u6w=; b=gQrCisuq9gjWqBNWWKG7GepHgNrfhn+FOh73iZdGcRt00yUL0Vj7uhpwoHP/HIHkdo UXwKN/jKsjkHUJywh1EueezAxT4Cr3bNrCi9ze6hBESIRM2ItMvO7p+0+321gp5lrMhp /xzjHHN84l6+emHuoOq2SlRMlOe6RcU1t0IQYlTDgo44yGGrt3huvmB7neSV7Bx4U5W7 uEjgC7tyYxlFEARE7x9lY/++4JD848cYNZBiNNkuU/t7UJBZEr/RjE+T3hZhXER1+IcE eTlQFPTH7ItNXtDrGG0WjkVjCgyYCQEp/BD0yy/Att/uy5AF8forzFwoUBUXBOR/BzhP stQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=mFzT6pv8CC87cHK04Jv1CeT+CD9fTxFZC5Ewe+N2u6w=; b=r+Sj9jMX0tu78NeP+3gj5VxUeDnVQSVA27ruCNGwZT+H79Yv96ulNJiPUFQjHVyxIo aG4rv0WutujL+nsWb9rpgWDBUSlECfmc7rkmwpC5xb5qAzj35O98O/Y0JsoejO2KiaG7 fUKhqvPZJXC8hhg0rV2bKZ+3WBm0gyYYapYbaeVAvrEFH9azxumOtQc+go+EHw2eh2PU e9IsRT59IFtBGsM0e+aamXfkd29hVk9rnKYiWExVpMAmChlzD3YxEG/vn6+8foo29Y5D w0N6RSpAu0A74BnJirFoW0nk0EMHfTmxrNAY34BUEfpwsQZJRZ6v2dmpRIBp9Ec2R3/0 2KsQ== X-Gm-Message-State: AOAM5316B7bdCD0EkdiCZJ5Q5wBOLOh0aOjHfYXTsKpmHrbVaND8dI9D r87SU/6MNnSd0PCYXxeFS6JTCQ== X-Received: by 2002:a05:600c:1d1a:: with SMTP id l26mr11249715wms.21.1624635129852; Fri, 25 Jun 2021 08:32:09 -0700 (PDT) Received: from ?IPv6:2a01:e0a:410:bb00:78f3:e334:978:3783? ([2a01:e0a:410:bb00:78f3:e334:978:3783]) by smtp.gmail.com with ESMTPSA id p13sm4865079wrx.30.2021.06.25.08.32.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Jun 2021 08:32:09 -0700 (PDT) Reply-To: nicolas.dichtel@6wind.com Subject: Re: Issues during assigning addresses on point to point interfaces To: =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: =?UTF-8?Q?Marek_Beh=c3=ban?= , netdev@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Alexey Kuznetsov , Hideaki YOSHIFUJI , linux-kernel@vger.kernel.org, Andrew Lunn , Russell King , Stephen Hemminger , Phil Sutter References: <20210606151008.7dwx5ukrlvxt4t3k@pali> <20210624124545.2b170258@dellmb> <20210625084031.c33yovvximtabmf4@pali> <20210625152737.6gslduccvguyrr77@pali> From: Nicolas Dichtel Organization: 6WIND Message-ID: Date: Fri, 25 Jun 2021 17:32:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210625152737.6gslduccvguyrr77@pali> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 25/06/2021 à 17:27, Pali Rohár a écrit : [snip] >>> Hello Nicolas! >>> >>> See my original email where I put also rtnetlink packets (how strace see >>> them). Seems that there is a bug in handling them (or bug in iproute2) >>> as setting just peer (remote) IPv6 address is ignored: >>> https://lore.kernel.org/netdev/20210606151008.7dwx5ukrlvxt4t3k@pali/ >>> >>> Do you have any idea if this is affected by that "issue in the uAPI"? >>> And what is the way how to fix it? >> What about forcing IFA_LOCAL address to :: in your case? > > It does not work. ip address returns error: > > $ sudo ip address add :: peer fe80::8 dev ppp0 > RTNETLINK answers: Cannot assign requested address So this trick could probably be used to handle your case, without breaking anything, as it's not a valid command today. Regards, Nicolas