summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchris <chris@openbsd.org>2000-04-26 19:05:28 +0000
committerchris <chris@openbsd.org>2000-04-26 19:05:28 +0000
commit7f7ac304453cde8245f7a589aececdaed48ae040 (patch)
tree379a166e633231decf726c131135269c2fe08191
parentAdd if_vlan (diff)
downloadwireguard-openbsd-7f7ac304453cde8245f7a589aececdaed48ae040.tar.xz
wireguard-openbsd-7f7ac304453cde8245f7a589aececdaed48ae040.zip
Fix for if_vlan (FreeBSD)
-rw-r--r--sys/dev/pci/if_ti.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index 96adfabe14c..e4d34d240ee 100644
--- a/sys/dev/pci/if_ti.c
+++ b/sys/dev/pci/if_ti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti.c,v 1.11 2000/02/15 03:54:29 jason Exp $ */
+/* $OpenBSD: if_ti.c,v 1.12 2000/04/26 19:05:28 chris Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1815,7 +1815,8 @@ void ti_rxeof(sc)
* to vlan_input() instead of ether_input().
*/
if (have_tag) {
- vlan_input_tag(eh, m, vlan_tag);
+ if (vlan_input_tag(eh, m, vlan_tag) < 0)
+ ifp->if_data.ifi_noproto++;
have_tag = vlan_tag = 0;
continue;
}