diff options
Diffstat (limited to 'sys/dev/bge/if_bge.c')
-rw-r--r-- | sys/dev/bge/if_bge.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index f76309b..16fc559 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -2623,8 +2623,11 @@ bge_rxeof(sc) * If we received a packet with a vlan tag, * attach that information to the packet. */ - 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; + } BGE_UNLOCK(sc); (*ifp->if_input)(ifp, m); |