[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <473D19EC.6030903@cn.fujitsu.com>
Date: Fri, 16 Nov 2007 12:17:48 +0800
From: Wang Chen <wangchen@...fujitsu.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
CC: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] [IPV4] UDP: Always checksum even if without socket
filter
Herbert Xu said the following on 2007-11-16 12:11:
> Wang Chen <wangchen@...fujitsu.com> 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.
>
Like dave said, decrementing the InDataGrams in this case is an
option.
I will check the same place of UDP/IPv6.
> Hmm, we really need to spend more time on merging stuff between
> IPv4 and IPv6 to save all this duplication of effort.
>
Definitely necessary.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists