summaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorH. Peter Anvin2008-12-23 02:56:05 +0100
committerH. Peter Anvin2008-12-23 03:00:18 +0100
commitadf77bac052bb5bf0722b2ce2af9fefc5b2d2a71 (patch)
treeaceffee150411ffe1e93b4f78f4660028d44ecd8 /net/ipv4/udp.c
parentMerge branch 'i2c-fixes' of git://aeryn.fluff.org.uk/bjdooks/linux (diff)
downloadkernel-qcow2-linux-adf77bac052bb5bf0722b2ce2af9fefc5b2d2a71.tar.gz
kernel-qcow2-linux-adf77bac052bb5bf0722b2ce2af9fefc5b2d2a71.tar.xz
kernel-qcow2-linux-adf77bac052bb5bf0722b2ce2af9fefc5b2d2a71.zip
x86: prioritize the FPU traps for the error code
In the case of multiple FPU errors, prioritize the error codes, instead of returning __SI_FAULT, which ends up pushing a 0 as the error code to userspace, a POSIX violation. For i386, we will simply return if there are no errors at all; for x86-64 this is probably a "can't happen" (and the code should be unified), but for this patch, return __SI_FAULT|SI_KERNEL if this ever happens. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions