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/vge | |
| parent | bd6b2177531840f4f42366604c6fdd9d4755c635 (diff) | |
Notes
Diffstat (limited to 'sys/dev/vge')
| -rw-r--r-- | sys/dev/vge/if_vge.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/vge/if_vge.c b/sys/dev/vge/if_vge.c index 915deb882c47..b433a0100ba5 100644 --- a/sys/dev/vge/if_vge.c +++ b/sys/dev/vge/if_vge.c @@ -1490,9 +1490,12 @@ vge_rxeof(sc) } } - if (rxstat & VGE_RDSTS_VTAG) + if (rxstat & VGE_RDSTS_VTAG) { VLAN_INPUT_TAG(ifp, m, - ntohs((rxctl & VGE_RDCTL_VLANID)), continue); + ntohs((rxctl & VGE_RDCTL_VLANID))); + if (m == NULL) + continue; + } VGE_UNLOCK(sc); (*ifp->if_input)(ifp, m); |
