summaryrefslogtreecommitdiffstats
path: root/net/tls
diff options
context:
space:
mode:
authorJohn Pittman <jpittman@redhat.com>2019-04-05 23:42:45 +0200
committerJens Axboe <axboe@kernel.dk>2019-04-06 18:51:08 +0200
commit7ff684a683d777c4956fce93e60accbab2bd7696 (patch)
tree28d71c37e524712b89d51d72a15586baa0661f0b /net/tls
parentblock: Revert v5.0 blk_mq_request_issue_directly() changes (diff)
downloadlinux-7ff684a683d777c4956fce93e60accbab2bd7696.tar.xz
linux-7ff684a683d777c4956fce93e60accbab2bd7696.zip
null_blk: prevent crash from bad home_node value
At module load, if the selected home_node value is greater than the available numa nodes, the system will crash in __alloc_pages_nodemask() due to a bad paging request. Prevent this user error crash by detecting the bad value, logging an error, and setting g_home_node back to the default of NUMA_NO_NODE. Signed-off-by: John Pittman <jpittman@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions