diff options
author | Alexander Graf <agraf@suse.de> | 2011-05-30 10:49:45 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-06-03 13:34:02 +0200 |
commit | 5b185639c5740998de403415c749ac98e13418fd (patch) | |
tree | b499248c9d82b974cade11ac4888bce7b67e4827 /target-s390x/translate.c | |
parent | 87b0b70513fb554ff20374707d7e90b0bc6ffb2d (diff) |
s390x: fix cksm instruction
The cksm instruction was implemented incorrectly, rendering UDP and TCP
checksum calculation wrong, making an emulated s390x Linux guest break
in most networking operations.
This patch fixes odd end checksum calculation, takes the input register
as input for the checksum and optimizes the overflow pieces by a bit.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/translate.c')
0 files changed, 0 insertions, 0 deletions