summaryrefslogtreecommitdiff
path: root/net/caif/caif_socket.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2017-01-10 09:44:54 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-01-30 11:42:31 -0200
commitf9f96fc10c09ca16e336854c08bc1563eed97985 (patch)
tree0a9b6bf8e70129ebe08fa58b793fdd8eb3a30430 /net/caif/caif_socket.c
parent8015d6b83cadc8f9f94c7bc8430255090ddf43d4 (diff)
[media] cec: fix wrong last_la determination
Due to an incorrect condition the last_la used for the initial attempt at claiming a logical address could be wrong. The last_la wasn't converted to a mask when ANDing with type2mask, so that test was broken. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'net/caif/caif_socket.c')
0 files changed, 0 insertions, 0 deletions
process. The MEM errors form userspace will result in a SIGKILL and also cause the offending pages to be claimed so they are no longer used in future tasks. SIGKILL is used to ensure that the process does not try to coredump and result in an attempt to read the memory again from within kernel space. Although there is a HV call to scrub the memory (mem_scrub), there is no easy way to guarantee that the real memory address(es) are not used by other tasks. Clearing the error with mem_scrub would zero the memory and cause the other processes to proceed with bad data. The handling of other non-resumable errors remain unchanged and will cause a panic. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/arch/parisc')