linux/include
Herbert Xu 759e5d0064 [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@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:23:51 -07:00
..
acpi Pull bugzilla-8171 into release branch 2007-03-20 11:06:00 -04:00
asm-alpha alpha: build fixes - force architecture 2007-04-17 16:36:27 -07:00
asm-arm [NET]: div64_64 consolidate (rev3) 2007-04-25 22:23:33 -07:00
asm-arm26
asm-avr32 [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
asm-cris
asm-frv
asm-generic [NET]: div64_64 consolidate (rev3) 2007-04-25 22:23:33 -07:00
asm-h8300
asm-i386 [NET]: div64_64 consolidate (rev3) 2007-04-25 22:23:33 -07:00
asm-ia64 [IA64] SGI Altix : fix pcibr_dmamap_ate32() bug 2007-04-06 15:38:12 -07:00
asm-m32r
asm-m68k [NET]: div64_64 consolidate (rev3) 2007-04-25 22:23:33 -07:00
asm-m68knommu
asm-mips [NET]: div64_64 consolidate (rev3) 2007-04-25 22:23:33 -07:00
asm-parisc
asm-powerpc allow vmsplice to work in 32-bit mode on ppc64 2007-04-17 16:36:26 -07:00
asm-ppc
asm-s390 [S390] Fix TCP/UDP pseudo header checksum computation. 2007-03-26 20:43:46 +02:00
asm-sh sh: Trivial fix for hp6xx build. 2007-03-28 19:45:59 +09:00
asm-sh64
asm-sparc [SPARC]: Add unsigned to unused bit field in a.out.h 2007-04-02 14:26:21 -07:00
asm-sparc64 [SPARC]: Add unsigned to unused bit field in a.out.h 2007-04-02 14:26:21 -07:00
asm-um [NET]: div64_64 consolidate (rev3) 2007-04-25 22:23:33 -07:00
asm-v850
asm-x86_64 [PATCH] x86_64 irq: Fix comments after changing IRQ0_VECTOR from 0x20 to 0x30 2007-03-29 08:16:23 -07:00
asm-xtensa [NET]: div64_64 consolidate (rev3) 2007-04-25 22:23:33 -07:00
crypto
keys
linux [UDP]: Clean up UDP-Lite receive checksum 2007-04-25 22:23:51 -07:00
math-emu
media V4L/DVB (5441): Saa7146: Fix allocation of clipping memory 2007-03-27 08:45:56 -03:00
mtd
net [UDP]: Clean up UDP-Lite receive checksum 2007-04-25 22:23:51 -07:00
pcmcia
rdma
rxrpc
scsi
sound
video
Kbuild