summaryrefslogtreecommitdiff
path: root/include/acpi/hed.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-02-02 08:04:56 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-03 11:19:34 -0500
commit3541f9e8bdebce02458882b66b638d7302c1f616 (patch)
tree1049ef01f68f197e66fa77f18768aaf6d219f8b1 /include/acpi/hed.h
parentff3edc9b8efc8200c25f3a5adfb1c1de0a882dc5 (diff)
tcp: add tcp_mss_clamp() helper
Small cleanup factorizing code doing the TCP_MAXSEG clamping. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/acpi/hed.h')
0 files changed, 0 insertions, 0 deletions
ors A non-resumable error from userspace is able to cause a kernel panic or trap loop due to the setup and handling of the queued traps once in the kernel. This patch series addresses both of these issues. The queues are fixed by simply zeroing the memory before use. PIO errors from userspace will result in a SIGBUS being sent to the user 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 'include/net/netns/hash.h')