aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/em
diff options
context:
space:
mode:
authorAndre Oppermann <andre@FreeBSD.org>2006-09-18 23:44:12 +0000
committerAndre Oppermann <andre@FreeBSD.org>2006-09-18 23:44:12 +0000
commit9fd7a4e70518940e212b7c412b9e3273b5efcd82 (patch)
tree7febd7d186ec7da34c2c6022821b4d8d231d9a8a /sys/dev/em
parent8c3c9a505f6e439a80b6eea70ca21f1e90b35d3a (diff)
Notes
Diffstat (limited to 'sys/dev/em')
-rw-r--r--sys/dev/em/if_em.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c
index 0943f5585f61..c31baac5b3f4 100644
--- a/sys/dev/em/if_em.c
+++ b/sys/dev/em/if_em.c
@@ -3393,11 +3393,12 @@ em_rxeof(struct adapter *adapter, int count)
em_fixup_rx(adapter) != 0)
goto skip;
#endif
- if (status & E1000_RXD_STAT_VP)
+ if (status & E1000_RXD_STAT_VP) {
adapter->fmp->m_pkthdr.ether_vtag =
(le16toh(current_desc->special) &
E1000_RXD_SPC_VLAN_MASK);
adapter->fmp->m_flags |= M_VLANTAG;
+ }
#ifndef __NO_STRICT_ALIGNMENT
skip:
#endif