summaryrefslogtreecommitdiff
path: root/net/rds/info.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2017-02-10 12:08:14 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-02-12 14:45:10 +0100
commit48656835c0405aa2e6c0d6a4305c77b70758d168 (patch)
tree7c43db5f1df7b0f7e534f5e1143fe1fd15657442 /net/rds/info.c
parentb745d0358db44ebcef31478314436d6d4ff93bfa (diff)
netfilter: nfnetlink: add nfnetlink_rcv_skb_batch()
Add new nfnetlink_rcv_skb_batch() to wrap initial nfnetlink batch handling. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/rds/info.c')
0 files changed, 0 insertions, 0 deletions
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/sctp')