aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cx
diff options
context:
space:
mode:
authorRoman Kurakin <rik@FreeBSD.org>2005-07-09 16:14:05 +0000
committerRoman Kurakin <rik@FreeBSD.org>2005-07-09 16:14:05 +0000
commit0541e456c99088d0cfcf7eae1564f6e59e1429d5 (patch)
tree7236153fa972c4171adfc38df99840d1537c3096 /sys/dev/cx
parentea78cad4bfb2e1afdae55df7dc71fc623a82c616 (diff)
downloadsrc-0541e456c99088d0cfcf7eae1564f6e59e1429d5.tar.gz
src-0541e456c99088d0cfcf7eae1564f6e59e1429d5.zip
Notes
Diffstat (limited to 'sys/dev/cx')
-rw-r--r--sys/dev/cx/if_cx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c
index 4f757f6c3ee1..7b0425e412ea 100644
--- a/sys/dev/cx/if_cx.c
+++ b/sys/dev/cx/if_cx.c
@@ -1188,7 +1188,7 @@ static void cx_send (drv_t *d)
if (d->ifp->if_bpf)
BPF_MTAP (d->ifp, m);
#endif
- len = m->m_pkthdr.len;
+ len = m_length (m, NULL);
if (! m->m_next)
cx_send_packet (d->chan, (u_char*)mtod (m, caddr_t),
len, 0);