aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vx
diff options
context:
space:
mode:
authorBosko Milekic <bmilekic@FreeBSD.org>2001-06-20 19:48:35 +0000
committerBosko Milekic <bmilekic@FreeBSD.org>2001-06-20 19:48:35 +0000
commitf5eece3fb99157ec3643100faf15515097904f54 (patch)
treee79557908ee2eeed9a40c65a32399eb17abca830 /sys/dev/vx
parent5a69ac96f564f1aa593d5d962e0919c5ad7406a8 (diff)
Notes
Diffstat (limited to 'sys/dev/vx')
-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 e1fa7605b54b9..f47508026d123 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;
}