]> git.baikalelectronics.ru Git - kernel.git/commit
net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write()
authorDavid Howells <dhowells@redhat.com>
Mon, 3 Oct 2022 06:34:21 +0000 (07:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:02 +0000 (11:41 +0100)
commit06486382d0258a90e2f40fdc2f84362b0c87047e
treed439e426982834cc767b60bef14592b1c14856b2
parent77001f59b6ad077b4faa29a907f1f7c75b27a610
net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write()

[ Upstream commit c3d96f690a790074b508fe183a41e36a00cd7ddd ]

Provide a CONFIG_PROC_FS=n fallback for proc_create_net_single_write().

Also provide a fallback for proc_create_net_data_write().

Fixes: 7f4a6c171bc3 ("proc: Add a way to make network proc files writable")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
cc: netdev@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/proc_fs.h