Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Revert part of if_bge.c 1.312. It's not reqired ...
details: https://anonhg.NetBSD.org/src/rev/3939c02d0f8a
branches: trunk
changeset: 357697:3939c02d0f8a
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Nov 22 02:35:54 2017 +0000
description:
Revert part of if_bge.c 1.312. It's not reqired to mask other than VLAN ID
bits in VLAN tag.
diffstat:
sys/dev/pci/if_bge.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0313457101bd -r 3939c02d0f8a sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c Wed Nov 22 02:35:24 2017 +0000
+++ b/sys/dev/pci/if_bge.c Wed Nov 22 02:35:54 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bge.c,v 1.312 2017/09/28 16:24:39 christos Exp $ */
+/* $NetBSD: if_bge.c,v 1.313 2017/11/22 02:35:54 msaitoh Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.312 2017/09/28 16:24:39 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.313 2017/11/22 02:35:54 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -4607,7 +4607,7 @@
* to vlan_input() instead of ether_input().
*/
if (cur_rx->bge_flags & BGE_RXBDFLAG_VLAN_TAG) {
- vlan_set_tag(m, cur_rx->bge_vlan_tag & ETHER_VLAN_MASK);
+ vlan_set_tag(m, cur_rx->bge_vlan_tag);
}
if_percpuq_enqueue(ifp->if_percpuq, m);
Home |
Main Index |
Thread Index |
Old Index