diff options
Diffstat (limited to 'sys/dev/nge')
-rw-r--r-- | sys/dev/nge/if_nge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c index 70d99bd..74f8f9a 100644 --- a/sys/dev/nge/if_nge.c +++ b/sys/dev/nge/if_nge.c @@ -1229,7 +1229,9 @@ nge_rxeof(sc) */ if (extsts & NGE_RXEXTSTS_VLANPKT) { VLAN_INPUT_TAG(ifp, m, - ntohs(extsts & NGE_RXEXTSTS_VTCI), continue); + ntohs(extsts & NGE_RXEXTSTS_VTCI)); + if (m == NULL) + continue; } NGE_UNLOCK(sc); (*ifp->if_input)(ifp, m); |