Opened 14 years ago

Closed 14 years ago

#198 closed defect (fixed)

UDP packets fail a checksum test when UDP checksum_computing is on

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


When cfg/net/general contains the following line:


udp_process_packet() will report invalid checksum and bail out.

Because of this, possible sockets waiting for this data will not be signaled and application such as nettest1 will appear hung.

This is reproducible only with the dp8390 and when UDP_CHECKSUM_COMPUTING=yes. Doing the same with UDP_CHECKSUM_COMPUTING=no or using the loopback interface does not reproduce the problem.

Steps how to reproduce:

  1. after system boot, start networking using netstart
  2. on one vc, start the echo server:

echo -v -p 8080 -t SOCK_DGRAM

  1. from another vc, run nettest1:

nettest1 -v -p 8080 -t SOCK_DGRAM

Change History (2)

comment:1 by Jakub Jermář, 14 years ago

There were some checksum-related changes in changeset:head,186.1.19.

comment:2 by Jakub Jermář, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset:head,312.

Note: See TracTickets for help on using tickets.