Re: [PATCH 1/2] [IPV4] UDP: Always checksum even if without socket filter
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2007-11-16 04:12:05
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2007-11-16 04:12:05
Wang Chen [off-list ref] wrote:
So, I think the checksum in udp_queue_rcv_skb() actually does the work, not that in udp_recvmsg() and udp_poll(). If I am wrong, please point out.
We may have a bug in the accounting area. Check the recent patch made to UDP/IPv6 which is probably needed here as well. Hmm, we really need to spend more time on merging stuff between IPv4 and IPv6 to save all this duplication of effort. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt