From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=WXVtIfwO; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id B43C15A0623 for ; Thu, 14 Nov 2024 19:18:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1731608333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xpn9rRgu1jb/PSO1FzKG3dXVWckgvE2A93YGXhj+Ehs=; b=WXVtIfwO/M1jq4p1ygR40RuJvsj1vmesw3UEugGh23/DGJ+nVZbO41bUM7BVAncbrq+b7I 34ImgqksEARxPt+uVW/DlVYL/df4w6cyrBA80hCp+V58O+90NlFUow7G0syD+dQ4kSpDmi mKNG76EFKFe0ze/qrCvoH70VIGDz8DI= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-185-gOJyNunKOLmeAH2t2nynnA-1; Thu, 14 Nov 2024 13:18:51 -0500 X-MC-Unique: gOJyNunKOLmeAH2t2nynnA-1 X-Mimecast-MFC-AGG-ID: gOJyNunKOLmeAH2t2nynnA Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-381d0582ad3so798029f8f.0 for ; Thu, 14 Nov 2024 10:18:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731608330; x=1732213130; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xpn9rRgu1jb/PSO1FzKG3dXVWckgvE2A93YGXhj+Ehs=; b=hBVu6yzHJhZT7m6XvNp9tW3lwWj4va2hpXUrGxRgMGPHmFji6Ttv+5mBShl7cA1zd9 rXiefGuP5vk912dPqthlEMtgQkuoooPS5UR07eVxTwLdimiNNaoMm8u+pJAkcyQweJBy /0ENAj6dTRjUGWwdQaA6mSKoDndmkIhuJwABjREdyl+DpChBju+Ossj77cQrSq2/vP2x 0tbA+aSQQGGV30cTRmndXLkEN+1jWRkH39wkuwOwaFBdkd4z9H2Dg99Z2vj5m7qFbANV 32zwR/oMoEGNBwPGfXPC17jEltJKvk5J9E1jXf2pvR08RDrrVUtoJROzhnX76/Hy2D5C 6Icw== X-Gm-Message-State: AOJu0Yww7D3Grgifxq3H1iyKRqhKv/3IjpFF3E3mVKZyS7BXj3tIyB78 apKIIvLxeZSrOsRXEJrI6tkIwUz4MX+5DEEaWJLU4vZqE2w1E4XBcBBJNCiD+cfvDVp65RfxsbQ KhUNzp5oT63GyXZfo/z7Ea5uJ8O36AD9WSXHqfynuYtVJ6bRybhyJ7RDMhg== X-Received: by 2002:a5d:47aa:0:b0:374:c658:706e with SMTP id ffacd0b85a97d-382185396cdmr2566927f8f.39.1731608329937; Thu, 14 Nov 2024 10:18:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHoMf4saywKmK8gLGpn+ukBvXtYUshIGizkUDr1aA+fUC/S0IKOUSjFSiqCMPI/OtmQd5bcxQ== X-Received: by 2002:a5d:47aa:0:b0:374:c658:706e with SMTP id ffacd0b85a97d-382185396cdmr2566917f8f.39.1731608329607; Thu, 14 Nov 2024 10:18:49 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3821ae3101fsm2088085f8f.92.2024.11.14.10.18.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2024 10:18:48 -0800 (PST) Date: Thu, 14 Nov 2024 19:18:46 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH v2 0/8] ndp: Unsolicited RAs Message-ID: <20241114191846.4d2ce49e@elisabeth> In-Reply-To: <20241114033310.2926316-1-david@gibson.dropbear.id.au> References: <20241114033310.2926316-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: qYI_kZlA6lCdUPsOXyaGMdFRxD9mum2baxaOWm7Ih-U_1731608331 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 5KZJ7WFMYV6GAMQMPM7K5HFXHEMOD33Y X-Message-ID-Hash: 5KZJ7WFMYV6GAMQMPM7K5HFXHEMOD33Y X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Thu, 14 Nov 2024 14:33:02 +1100 David Gibson wrote: > The default route a guest obtains via NDP has an expiry. We set this > to the maximum allowed, 65535s (about 18 hours). We missed, however, > that after that expiry, the guest won't send a new Router > Solicitation. Instead it expects an unsolicited Router Advertisement > to have come at some point before the expiry. This means that on an > IPv6 setup, the default will disappear after 18 hours. > > Correct this by sending unsolicited Router Advertisements as required > by RFC 4861. Along the way we make a number of small cleanups to the > NDP code. > > Link: https://github.com/kubevirt/kubevirt/issues/13191 > > v2: > * Some minor stylistic fixes > * Use srandom() > * Better explanation of the random requirements for the RAs Applied. -- Stefano