Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/net Pull up following revision(s) (requested by ozaki...
details: https://anonhg.NetBSD.org/src/rev/fab01d4fd1e4
branches: netbsd-8
changeset: 460465:fab01d4fd1e4
user: martin <martin%NetBSD.org@localhost>
date: Thu Oct 24 15:48:37 2019 +0000
description:
Pull up following revision(s) (requested by ozaki-r in ticket #1411):
sys/net/if_vlan.c: revision 1.147
vlan: get rid of unnecessary if_ipackets++ in vlan_input
It's done by if_input() below now.
Pointed out by msaitoh@
diffstat:
sys/net/if_vlan.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 36777e2b6f16 -r fab01d4fd1e4 sys/net/if_vlan.c
--- a/sys/net/if_vlan.c Mon Oct 21 17:03:01 2019 +0000
+++ b/sys/net/if_vlan.c Thu Oct 24 15:48:37 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_vlan.c,v 1.97.2.16 2018/10/22 07:41:12 martin Exp $ */
+/* $NetBSD: if_vlan.c,v 1.97.2.17 2019/10/24 15:48:37 martin Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.97.2.16 2018/10/22 07:41:12 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.97.2.17 2019/10/24 15:48:37 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1622,7 +1622,6 @@
}
m_set_rcvif(m, &ifv->ifv_if);
- ifv->ifv_if.if_ipackets++;
if (pfil_run_hooks(ifp->if_pfil, &m, ifp, PFIL_IN) != 0)
goto out;
Home |
Main Index |
Thread Index |
Old Index