diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2005-12-18 18:24:27 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2005-12-18 18:24:27 +0000 |
| commit | d147662cd3b46d4e9c786c955620193a7ef64e7f (patch) | |
| tree | edde4e6e448953c23a09236086ca19000c7a4fb5 /sys/dev/ti | |
| parent | bd6b2177531840f4f42366604c6fdd9d4755c635 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ti')
| -rw-r--r-- | sys/dev/ti/if_ti.c | 7 |
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); |
