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/txp | |
| parent | bd6b2177531840f4f42366604c6fdd9d4755c635 (diff) | |
Notes
Diffstat (limited to 'sys/dev/txp')
| -rw-r--r-- | sys/dev/txp/if_txp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c index 6f3429e4d37e..ae22015b21de 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); |
