linux/include/asm-s390
Heiko Carstens afbc1e994d [S390] Fix TCP/UDP pseudo header checksum computation.
git commit f994aae1bd changed the
function declaration of csum_tcpudp_nofold. Argument types were
changed from unsigned long to __be32 (unsigned int). Therefore we
lost the implicit type conversion that zeroed the upper half of the
registers that are used to pass parameters. Since the inline assembly
relied on this we ended up adding random values and wrong checksums
were created.
Showed only up on machines with more than 4GB since gcc produced code
where the registers that are used to pass 'saddr' and 'daddr' previously
contained addresses before calling this function.
Fix this by using 32 bit arithmetics and convert code to C, since gcc
produces better code than these hand-optimized versions.

Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2007-03-26 20:43:46 +02:00
..
Kbuild
a.out.h
appldata.h
atomic.h [S390] add atomic64_xchg to s390 2007-02-21 10:55:59 +01:00
auxvec.h
bitops.h
bug.h
bugs.h [S390] check_bugs() should be inline. 2007-03-05 23:35:50 +01:00
byteorder.h
cache.h
cacheflush.h
ccwdev.h [S390] cio: Fixup interface for setting options on ccw devices. 2007-02-12 15:47:18 +01:00
ccwgroup.h
checksum.h [S390] Fix TCP/UDP pseudo header checksum computation. 2007-03-26 20:43:46 +02:00
cio.h
cmb.h
compat.h
cpcmd.h
cputime.h
current.h
dasd.h
debug.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
ebcdic.h
elf.h
emergency-restart.h
errno.h
etr.h
extmem.h
fcntl.h
futex.h
hardirq.h
idals.h
io.h [S390] remove __io_virt and mmiowb. 2007-02-12 15:49:57 +01:00
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
ipl.h [S390] reboot from and dump to SCSI under z/VM fails. 2007-03-19 13:19:03 +01:00
irq.h
irq_regs.h
irqflags.h
kdebug.h
kexec.h
kmap_types.h
kprobes.h
linkage.h
local.h [S390] local_t cleanup : use asm-generic/local.h. 2007-02-21 10:55:55 +01:00
lowcore.h
mathemu.h
mman.h
mmu.h
mmu_context.h
module.h
monwriter.h
msgbuf.h
mutex.h
namei.h
page.h
param.h
pci.h
percpu.h
pgalloc.h
pgtable.h
poll.h
posix_types.h
processor.h [S390] New get_cpu_id() inline assembly 2007-02-21 10:55:18 +01:00
ptrace.h
qdio.h
qeth.h
reset.h
resource.h
rwsem.h
s390_ext.h
s390_rdev.h
scatterlist.h
sclp.h
sections.h [S390] nss: Free unused memory in kernel image. 2007-02-21 10:55:37 +01:00
segment.h
semaphore.h
sembuf.h
setup.h [S390] New header file ipl.h 2007-02-21 10:55:21 +01:00
sfp-machine.h
sfp-util.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sigp.h
smp.h
socket.h
sockios.h
spinlock.h
spinlock_types.h
stat.h
statfs.h
string.h
suspend.h
system.h
tape390.h
termbits.h
termios.h
thread_info.h
timer.h
timex.h
tlb.h
tlbflush.h
todclk.h
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h [S390] Wire up sys_utimes. 2007-03-19 13:19:07 +01:00
user.h
vtoc.h
xor.h
zcrypt.h