Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet in: No need to set expire here anymore
details: https://anonhg.NetBSD.org/src/rev/b108fea95423
branches: trunk
changeset: 976043:b108fea95423
user: roy <roy%NetBSD.org@localhost>
date: Fri Sep 11 15:19:31 2020 +0000
description:
in: No need to set expire here anymore
diffstat:
sys/netinet/in.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r 9361bf7f8f7b -r b108fea95423 sys/netinet/in.c
--- a/sys/netinet/in.c Fri Sep 11 15:19:04 2020 +0000
+++ b/sys/netinet/in.c Fri Sep 11 15:19:31 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in.c,v 1.238 2020/08/29 17:41:14 christos Exp $ */
+/* $NetBSD: in.c,v 1.239 2020/09/11 15:19:31 roy Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.238 2020/08/29 17:41:14 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.239 2020/09/11 15:19:31 roy Exp $");
#include "arp.h"
@@ -1959,11 +1959,6 @@
if (lle == NULL) /* NB: caller generates msg */
return NULL;
- /*
- * For IPv4 this will trigger "arpresolve" to generate
- * an ARP request.
- */
- lle->la_expire = time_uptime; /* mark expired */
lle->r_l3addr.addr4 = addr4;
lle->lle_refcnt = 1;
lle->lle_free = in_lltable_destroy_lle;
Home |
Main Index |
Thread Index |
Old Index