]> git.baikalelectronics.ru Git - kernel.git/commit
net/sysctl: use cpumask_parse in flow_limit_cpu_sysctl
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Jun 2020 05:52:34 +0000 (07:52 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Jun 2020 14:13:56 +0000 (10:13 -0400)
commit38495897af86a94c643ec31ef580e9897b18cb5c
treea598ea62e72c73c034dd1e1233995ee60b49a676
parent601626d6a421e0e5dbc3774720e54f0ca2e2abab
net/sysctl: use cpumask_parse in flow_limit_cpu_sysctl

cpumask_parse_user works on __user pointers, so this is wrong now.

Fixes: 601626d6a421 ("sysctl: pass kernel pointers to ->proc_handler")
Reported-by: build test robot <lkp@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/core/sysctl_net_core.c