Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/netinet Pull up following revision(s) (requested by o...



details:   https://anonhg.NetBSD.org/src/rev/dd32cd56d779
branches:  netbsd-8
changeset: 851359:dd32cd56d779
user:      snj <snj%NetBSD.org@localhost>
date:      Sun Feb 11 21:46:25 2018 +0000

description:
Pull up following revision(s) (requested by ozaki-r in ticket #539):
        sys/netinet/in.c: 1.217
Don't call lltable_purge_entries from in_if_down if ARP isn't enabled
Reported by bouyer@

diffstat:

 sys/netinet/in.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 8270199570cd -r dd32cd56d779 sys/netinet/in.c
--- a/sys/netinet/in.c  Sun Feb 11 21:29:18 2018 +0000
+++ b/sys/netinet/in.c  Sun Feb 11 21:46:25 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in.c,v 1.203.2.8 2018/02/11 21:17:34 snj Exp $ */
+/*     $NetBSD: in.c,v 1.203.2.9 2018/02/11 21:46:25 snj 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.203.2.8 2018/02/11 21:17:34 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.203.2.9 2018/02/11 21:46:25 snj Exp $");
 
 #include "arp.h"
 
@@ -1539,7 +1539,9 @@
 {
 
        in_if_link_down(ifp);
+#if NARP > 0
        lltable_purge_entries(LLTABLE(ifp));
+#endif
 }
 
 void



Home | Main Index | Thread Index | Old Index