Subject: Re: UDP checksum trouble in -current
To: YAMAMOTO Takashi <>
From: john heasley <>
List: tech-net
Date: 01/20/2005 17:12:59
Fri, Jan 21, 2005 at 09:27:13AM +0900, YAMAMOTO Takashi:
> hi,
> > i think you also need zero ui->ui_sum in the else {}, otherwise you could
> > just have garbage.
> for what?
> in that case, the ui_sum should never used by anyone, afaik.

you still want it to "hit the wire" as zero don't you, otherwise the receive
side (including things like tcpdump) thinks you're doing checksums.