#342 closed defect (fixed)
Network Routing Bug
Reported by: | mikes | Owned by: | Eric Norum |
---|---|---|---|
Priority: | normal | Milestone: | 2 |
Component: | network/legacy | Version: | 4.6 |
Severity: | major | Keywords: | |
Cc: | bugs@…, joel.sherrill@… | Blocked By: | |
Blocking: |
Description
I think I found a small bug in the RTEMS version of the function
m_copyback(). I am using the rtems-ss-20021118 snapshot.
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.
Below is my patch to fix the problem. The uipc_mbuf.c file is located
in the cpukit/libnetworking/kern directory. Please review and let
me know if you think this the correct fix.
Release:
RTEMS-4.5 and CVS pre-4.6
Attachments (1)
Change History (2)
comment:1 Changed on 02/06/03 at 16:15:17 by Joel Sherrill
Status: | assigned → closed |
---|
Note: See
TracTickets for help on using
tickets.
State-Changed-From-To: open->closed
State-Changed-Why: patch applied. Just wanted to make sure this ended up in