From: chris Date: Wed, 26 Apr 2000 19:05:28 +0000 (+0000) Subject: Fix for if_vlan (FreeBSD) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7f7ac304453cde8245f7a589aececdaed48ae040;p=openbsd Fix for if_vlan (FreeBSD) --- 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; }