summaryrefslogtreecommitdiffstats
path: root/sys/dev/txp/if_txp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/txp/if_txp.c')
-rw-r--r--sys/dev/txp/if_txp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c
index 6f3429e..ae22015 100644
--- a/sys/dev/txp/if_txp.c
+++ b/sys/dev/txp/if_txp.c
@@ -766,8 +766,9 @@ txp_rx_reclaim(sc, r)
}
if (rxd->rx_stat & RX_STAT_VLAN) {
- VLAN_INPUT_TAG(ifp,
- m, htons(rxd->rx_vlan >> 16), goto next);
+ VLAN_INPUT_TAG(ifp, m, htons(rxd->rx_vlan >> 16));
+ if (m == NULL)
+ goto next;
}
TXP_UNLOCK(sc);
OpenPOWER on IntegriCloud