Opened 10 years ago

Closed 10 years ago

#567 closed defect (fixed)

Two UDP issues for triaging

Reported by: Jakub Jermář Owned by: Jiri Svoboda
Priority: major Milestone: 0.6.0
Component: helenos/net/udp Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


Triage the following reports and evaluate the attached patch:

On 1.11.2013 4:04, Fan Jinfei wrote:>

  1. udp packet assembly (now can receive >4K packet)
  2. memory leak when incoming udp packet to un-open port

Attachments (1)

udp-issues-jinfei.patch (5.6 KB ) - added by Jakub Jermář 10 years ago.

Download all attachments as: .zip

Change History (2)

by Jakub Jermář, 10 years ago

Attachment: udp-issues-jinfei.patch added

comment:1 by Jiri Svoboda, 10 years ago

Resolution: fixed
Status: newclosed

The issues are identified correctly, but the provided patch is rather rough - it fixes the problems only partially and it also breaks some code that is correct.

I committed two fixes loosely based on this patch in mainline,2138 and mainline,2140.

After the fixes, we can run netecho -s 65535 -v -p 8080 inside HelenOS and receive large UDP datagrams (that get fragmented at IP layer) from outside. (Tested with netcat).

Note: See TracTickets for help on using tickets.