summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/ChangeLog10
-rw-r--r--cpukit/libnetworking/kern/uipc_mbuf.c4
2 files changed, 12 insertions, 2 deletions
diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog
index 038e1019a3..d2a0e034d1 100644
--- a/cpukit/libnetworking/ChangeLog
+++ b/cpukit/libnetworking/ChangeLog
@@ -1,3 +1,13 @@
+2003-02-06 Mike Siers <mikes@poliac.com>
+
+ PR 342/networking
+ * kern/uipc_mbuf.c: The RTEMS version of the m_copyback is changing
+ the m_len value of the mbuf. I looked into the source from another
+ BSD system and the mbuf length is not changed inside this function.
+ The m_copyback function is only being used in the net/rtsock.c file.
+ So I think this problem is only visable under certain routing table
+ conditions.
+
2003-02-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 341/networking
diff --git a/cpukit/libnetworking/kern/uipc_mbuf.c b/cpukit/libnetworking/kern/uipc_mbuf.c
index 858d423456..a0e54ac94b 100644
--- a/cpukit/libnetworking/kern/uipc_mbuf.c
+++ b/cpukit/libnetworking/kern/uipc_mbuf.c
@@ -755,7 +755,7 @@ m_copyback(m0, off, len, cp)
off = 0;
totlen += mlen;
if (len == 0) {
- m->m_len = mlen;
+ /* m->m_len = mlen; */
break;
}
if (m->m_next == 0) {
@@ -767,7 +767,7 @@ m_copyback(m0, off, len, cp)
n->m_len = min(MLEN, len);
m->m_next = n;
}
- m->m_len = mlen;
+ /* m->m_len = mlen; */
m = m->m_next;
}
/*out:*/