[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070306.203159.126762793.davem@davemloft.net>
Date: Tue, 06 Mar 2007 20:31:59 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: netdev@...r.kernel.org
Subject: Re: [UDP]: Clean up UDP-Lite receive checksum
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Tue, 6 Mar 2007 12:41:00 +1100
> Hi Dave:
>
> [UDP]: Clean up UDP-Lite receive checksum
>
> This patch eliminates some duplicate code for the verification of
> receive checksums between UDP-Lite and UDP. It does this by
> introducing __skb_checksum_complete_head which is identical to
> __skb_checksum_complete_head apart from the fact that it takes
> a length parameter rather than computing the first skb->len bytes.
>
> As a result UDP-Lite will be able to use hardware checksum offload
> for packets which do not use partial coverage checksums. It also
> means that UDP-Lite loopback no longer does unnecessary checksum
> verification.
>
> If any NICs start support UDP-Lite this would also start working
> automatically.
>
> This patch removes the assumption that msg_flags has MSG_TRUNC clear
> upon entry in recvmsg.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Also applied, thanks a lot.
-
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