From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E27CEC2B9F4 for ; Fri, 25 Jun 2021 15:32:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C0FF161948 for ; Fri, 25 Jun 2021 15:32:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229826AbhFYPed (ORCPT ); Fri, 25 Jun 2021 11:34:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbhFYPec (ORCPT ); Fri, 25 Jun 2021 11:34:32 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61200C061766 for ; Fri, 25 Jun 2021 08:32:11 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id n23so6537133wms.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=YXnUFsC3u5ZlJ+63m3iFK4x8YNCUU+E7wD1fo8YPNqDLOXt5xMeMPpWLlHoJLXcoy8 bui3bALGxUM1bY57TeA3NzVfD9yDCWDpK6mNPEDIXsbqGt9ugXvXeiKQKd6Rlqz/yc/b tent5EeL53rpxcPagPaXGPKg/RF4/ADCfFvnNtuoBYy17f5dU93APa1BjQrZmtnNEfjQ +3WdUifEUVE+ZbdEK9muB8Eh/nGjLjgDirVG2tv8Rh1oI/OUXVZ1XufIcKO/stuy2BD9 6VLDYmD7RwFbYO2FkXTphyo3/RyoXjUPdqi8LH94Ecta1vOuGMX4jKfJEOBmg7QGunZV W+4g== X-Gm-Message-State: AOAM5319C5eMuQdqi499v+yg9wevOsdAaNTFcIas5BFXzG1GUZZ6kPPi AZnaj4RzgU0W45AK8oJmKE+iHw== X-Google-Smtp-Source: ABdhPJz/6Upyz/UC5eot3d9nnDv9G36yvRoecBp+33QVzZIe9nLdoe2QUFh8lE3k63kot9hiyufr+g== 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: netdev@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