git: ca1850478ff4 - main - lltable: properly set expire time to 0 for static IPv4 entries.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Apr 2023 11:15:32 UTC
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);