Opened 15 years ago
Closed 15 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: |
Description
When cfg/net/general contains the following line:
UDP_CHECKSUM_COMPUTING=yes
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:
- after system boot, start networking using netstart
- on one vc, start the echo server:
echo -v -p 8080 -t SOCK_DGRAM
- from another vc, run nettest1:
nettest1 -v -p 8080 -t SOCK_DGRAM 10.0.2.15
Note:
See TracTickets
for help on using tickets.
There were some checksum-related changes in changeset:head,186.1.19.