From nobody Wed Jun 21 22:14:08 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qmd8Q4Ckfz4gkbT for ; Wed, 21 Jun 2023 22:14:30 +0000 (UTC) (envelope-from melifaro@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qmd8Q3hSGz3mVq; Wed, 21 Jun 2023 22:14:30 +0000 (UTC) (envelope-from melifaro@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687385670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0OdFFjGAmz3dOWonyEVaOeXfrEQPFw4Kq4Q0gXHlHkw=; b=iL0R/BIw0dP/Rv4+iAEORFYX9697+6kLetPClpeuKRD7mR1tH1s5HDUan7qGwmHj8qrdjP EH4D38I7w+2dfBgB3KG8TL4k7/P72sdLO2+B2NYj0WlH4BReJmawxYzGxNpZlIx5X9eQHP P/jofMnfJ94UYJ+7kJKCIaMDyByu7eAvN3IHisubFdMT1y5Uhs9Kr+2TegUYjNkTojv3VF i1iuj1PAkGZ7rpUD8YphCsJrf+TSyNkLWhxmHj/rg+dGbEeXyCpz1uyKX37vAeVno+JeaG knXeGklLZw0dtNdlf26ShQAgOZruqjw0z0BTve/v+yDT70PVCHQt/Bw3fvu+uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687385670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0OdFFjGAmz3dOWonyEVaOeXfrEQPFw4Kq4Q0gXHlHkw=; b=JjjppUPr6ucpd2f0I9GCphIAVDSdJdOEbpN8Jwr9t3tte2KnUvZX9vXSmb0BOCueqwXPIC UI6qC9qKzqkLpiucrLAki//xptKMmPA5be7cYsp8OonYFPJjBQB20q+Da/50wmI0msDU1a aIw9Z3K9HNCLmRbPUaiK3YW9LkueAMCFR2OoX0TICoiRe3J4fcBuEWz6/8wp3bIKgfXB9T WqVX69bfi98e7KZPgmB/bk9LTtonqX+rvnc0pScgj5go+/7bJvr1JYarQMa2L91xhAG1gn tooQw70dFZvvNYQDwDIzsUnn5CzKxPECEc31qn0UyxBuBbTVGtDeixzLWkenVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687385670; a=rsa-sha256; cv=none; b=XHuOAknT5YtH2Bj2CMKlUJbjbq/Q95s+wEicxLmB83uyXV2vvpOjjNLStzgZqX+AWfwrZi mPsW0eiEZE1Z0wh1bebu4TdR+gUVCwHSTzVLZBtI9jKZ2jFh4hbXZcgzjOiI51fFBHY1P6 3Th2RzGVa1MZWnEOI9N1cu3F9NdZGQqBIhUuZnoJxlaM0Eh2pIa4LQOXJSXwp1kojPcWE5 M1wSza920hV1bo4TGKPerie98fNo+3z9FSFy8w3v0f2mbv9TYVW0+9nt1wkOYzZmL8Ywnj uyE53FtPYZVvtAfbJCEHyb2xBwiCQgt996dxsF5xVUPeIjzCbAkCi/gcebFl1Q== Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com [66.111.4.228]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: melifaro/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Qmd8Q1mRNzfP3; Wed, 21 Jun 2023 22:14:30 +0000 (UTC) (envelope-from melifaro@FreeBSD.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 399AA27C0054; Wed, 21 Jun 2023 18:14:29 -0400 (EDT) Received: from imap43 ([10.202.2.93]) by compute4.internal (MEProxy); Wed, 21 Jun 2023 18:14:29 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeegtddgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreerjeenucfhrhhomhepfdetlhgv gigrnhguvghrucevhhgvrhhnihhkohhvfdcuoehmvghlihhfrghroheshfhrvggvuefuff drohhrgheqnecuggftrfgrthhtvghrnhepjeetjefgieeliedtgedvvdeuffdukefhhfdu leejheduvdefgeehvedtudfgueeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepmhgvodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithih qddufedvledvuddvfedvqddvleefiedutdegkedqmhgvlhhifhgrrhhopeephfhrvggvue fuffdrohhrghesmhhplhhsrdhivg X-ME-Proxy: Feedback-ID: i02494642:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id C7C5B2D4008F; Wed, 21 Jun 2023 18:14:28 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-499-gf27bbf33e2-fm-20230619.001-gf27bbf33 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Message-Id: In-Reply-To: <58e2f1e-7527-35ce-1b12-a2ff97287b40@dlr.de> References: <58e2f1e-7527-35ce-1b12-a2ff97287b40@dlr.de> Date: Wed, 21 Jun 2023 23:14:08 +0100 From: "Alexander Chernikov" To: "Hartmut Brandt" , current@freebsd.org Subject: Re: RTM_NEWNEIGH message for static ARP entry Content-Type: multipart/alternative; boundary=103e5e473d9e4d64b6dbbbdc2a6b5ebf X-ThisMailContainsUnwantedMimeParts: N --103e5e473d9e4d64b6dbbbdc2a6b5ebf Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, 21 Jun 2023, at 5:19 PM, Hartmut Brandt wrote: > Hi, >=20 > when I set a static ARP entry I see an RTM_NEWNEIGH message on a netli= nk=20 > socket as expected, but the ndm_state is NUD_INCOMPLETE. Should'nt thi= s be=20 > NUD_NOARP? At least this is what Linux returns. Thanks for the report, I=E2=80=99ll take a look. To me, NUD_REACHABLE | NUD_PERMANENT looks better suited for the particu= lar case, but I=E2=80=99ll dive deeper tomorrow. Anyway NUD_INCOMPLETE i= s certainly wrong. >=20 > Cheers, > Harti >=20 >=20 /Alexander --103e5e473d9e4d64b6dbbbdc2a6b5ebf Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable

=
On Wed, 21 Jun 2023, at 5:19 PM, Hartmut Brandt wrote:
Hi,
=

when I set a static ARP entry I see an RTM_NEWNEIGH = message on a netlink 
socket as expected, but the ndm= _state is NUD_INCOMPLETE. Should'nt this be 
NUD_NOAR= P? At least this is what Linux returns.
Thank= s for the report, I=E2=80=99ll take a look.
To me, NUD_REA= CHABLE | NUD_PERMANENT looks better suited for the particular case, but = I=E2=80=99ll dive deeper tomorrow. Anyway NUD_INCOMPLETE is certainly wr= ong.

=
Cheers,
Harti


=

/Alexander

--103e5e473d9e4d64b6dbbbdc2a6b5ebf--