summaryrefslogtreecommitdiff
path: root/sys/dev/ic/gem.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/gem.c')
-rw-r--r--sys/dev/ic/gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ic/gem.c b/sys/dev/ic/gem.c
index 21d07d530b2..a6f9c357b60 100644
--- a/sys/dev/ic/gem.c
+++ b/sys/dev/ic/gem.c
@@ -748,7 +748,7 @@ if (gem_opdebug) printf("in init\n");
/* step 4. TX MAC registers & counters */
gem_init_regs(sc);
- v = ETHERMTU +
+ v = ETHERMTU + sizeof(struct ether_header) +
#if NVLAN > 0
EVL_ENCAPLEN +
#endif