aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ti
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2005-12-18 18:24:27 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2005-12-18 18:24:27 +0000
commitd147662cd3b46d4e9c786c955620193a7ef64e7f (patch)
treeedde4e6e448953c23a09236086ca19000c7a4fb5 /sys/dev/ti
parentbd6b2177531840f4f42366604c6fdd9d4755c635 (diff)
Notes
Diffstat (limited to 'sys/dev/ti')
-rw-r--r--sys/dev/ti/if_ti.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index a21191b910c9..5b26e6329dd2 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -2727,8 +2727,11 @@ ti_rxeof(sc)
* If we received a packet with a vlan tag,
* tag it before passing the packet upward.
*/
- if (have_tag)
- VLAN_INPUT_TAG(ifp, m, vlan_tag, continue);
+ if (have_tag) {
+ VLAN_INPUT_TAG(ifp, m, vlan_tag);
+ if (m == NULL)
+ continue;
+ }
TI_UNLOCK(sc);
(*ifp->if_input)(ifp, m);
TI_LOCK(sc);