From nobody Tue Apr 25 11:15:32 2023 X-Original-To: dev-commits-src-all@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 4Q5KDN5N8Zz473h0; Tue, 25 Apr 2023 11:15:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q5KDN46vhz45QP; Tue, 25 Apr 2023 11:15:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682421332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KnoGSzc1Ff5mpYUDg5jwYchF0H9GEJ/WKLW3V7jju1s=; b=LT4S8kV74p5Vk+OuwWoYfpyj0wkkGjoIwEHiXBdFspSgR0X9yHoSDmZhsPz1/+d8KWrPdG By6XZDxhE/ce0QPJcI4xiItYQawEMloyYDOnnldu9KXFBDU5iEV1Z3vOMAT48FNzzFGPys ausD1uOr2DSED3rMStesLcspdiR5e46XhMWVnIPfJ9URwzp+afW/6Pg9gUJVemTpn/a3UJ M7Cmwyko6Z1GN3g4/edWbsrzYOP373ctOIwCWblIoTyFSe3fSdZMYOXd2aVPu/78A8MaTT vOVQ0NlZhuKHvGL4MGgyqkhleiYiL9LPCUdLXW/0SCMo8ZLRyFFl21FmeH1/dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682421332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KnoGSzc1Ff5mpYUDg5jwYchF0H9GEJ/WKLW3V7jju1s=; b=V+EFxPsSke/I3SwPkFgx8bCeq13QNpVUVbxN1o5Uk6M0GDd+D89T+wH7+j+IS/vbSQOSIh 5V6QREiV/nSLQlHBTqmGjAKaQZSQB4jtE9RLFieigBc+MsnO2o1RoqLF+AfQ6eM0gxQ9L6 4zL8xUuCFxWz4Nszsb/l9ndpnXwmZyV283K3d3MfF5niSnQNc6+3uB8DYH4RFjA3ZrFKqM orzSARs2ViV4OM0MKlG43yNr9qHLUcrTctqLcbTivi+PUSjH6JTNyVGYF2OcaDjO/yxqgW 6eD7/uj2W5S6alVqnT2KKQW65kLAfcDvNEX4ZMfXt2sOqc7rQdb0ytxyiH32dQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682421332; a=rsa-sha256; cv=none; b=dv3Dere15qKFKDp4KX2+xlzsvriYSaLXwL+3ZwUplyv4CZiscQjaBxCR4mbh47mbC9xmNG +1y7W/tSwsW6v1MnFAHBpokPkonnsG1Nj+Oyu5pv6bvZNG11p3H9cWQwuPKGPkWdggCQ30 g3aROioR7qPZs/+NIyvxYDDRkbVzxsaOAVwj57lUe219a53O7Xk5pSh3BVtu1AaFwh0XLG 3+sr/59l94phW/YOhQXtIlTNmlZKBE+CVV7mBG8mqnVZxaZazXjdSDaQtT5HmzrL8P5ywT Ln2CqjJp7N9NfU2ugQzgT35sXV0MIoFYj1wrFOqyTPIRCQtkt5EXWW6xmB0aog== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q5KDN3DRgz151S; Tue, 25 Apr 2023 11:15:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33PBFWSs012770; Tue, 25 Apr 2023 11:15:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33PBFWH1012769; Tue, 25 Apr 2023 11:15:32 GMT (envelope-from git) Date: Tue, 25 Apr 2023 11:15:32 GMT Message-Id: <202304251115.33PBFWH1012769@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: ca1850478ff4 - main - lltable: properly set expire time to 0 for static IPv4 entries. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ca1850478ff4bc2264a3078c22c4f52dd6f23459 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=ca1850478ff4bc2264a3078c22c4f52dd6f23459 commit ca1850478ff4bc2264a3078c22c4f52dd6f23459 Author: Alexander V. Chernikov AuthorDate: 2023-04-25 10:59:50 +0000 Commit: Alexander V. Chernikov CommitDate: 2023-04-25 10:59:50 +0000 lltable: properly set expire time to 0 for static IPv4 entries. MFC after: 2 weeks --- sys/netinet/in.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netinet/in.c b/sys/netinet/in.c index a17e3cac8744..6a5e3cb4ee6f 100644 --- a/sys/netinet/in.c +++ b/sys/netinet/in.c @@ -1671,6 +1671,7 @@ in_lltable_alloc(struct lltable *llt, u_int flags, const struct sockaddr *l3addr lladdr_off); lle->la_flags |= LLE_STATIC; lle->r_flags |= (RLLE_VALID | RLLE_IFADDR); + lle->la_expire = 0; } return (lle);