From 7f7ac304453cde8245f7a589aececdaed48ae040 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 26 Apr 2000 19:05:28 +0000 Subject: [PATCH] Fix for if_vlan (FreeBSD) --- sys/dev/pci/if_ti.c | 5 +++-- 1 file 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; } -- 2.20.1