Date: Tue, 25 Apr 2023 11:15:32 GMT From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ca1850478ff4 - main - lltable: properly set expire time to 0 for static IPv4 entries. Message-ID: <202304251115.33PBFWH1012769@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=ca1850478ff4bc2264a3078c22c4f52dd6f23459 commit ca1850478ff4bc2264a3078c22c4f52dd6f23459 Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2023-04-25 10:59:50 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304251115.33PBFWH1012769>