summaryrefslogtreecommitdiffstats
path: root/sys/dev/vx/if_vx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vx/if_vx.c')
-rw-r--r--sys/dev/vx/if_vx.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c
index e1fa760..f475080 100644
--- a/sys/dev/vx/if_vx.c
+++ b/sys/dev/vx/if_vx.c
@@ -691,15 +691,12 @@ again:
{
struct mbuf *m0;
- m0 = m_devget(mtod(m, char *) - ETHER_ALIGN,
- m->m_pkthdr.len + ETHER_ALIGN, 0, ifp, NULL);
-
+ m0 = m_devget(mtod(m, char *), m->m_pkthdr.len, ETHER_ALIGN, ifp, NULL);
if (m0 == NULL) {
ifp->if_ierrors++;
goto abort;
}
- m_adj(m0, ETHER_ALIGN);
m_freem(m);
m = m0;
}
OpenPOWER on IntegriCloud