]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: allow /proc entries without CONFIG_SUNRPC_DEBUG
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 28 Nov 2018 15:05:58 +0000 (15:05 +0000)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 19 Dec 2018 18:52:44 +0000 (13:52 -0500)
commit3efd74dd495d0af2ac809c68d25b42c14485d3dc
tree951806e988d42593b511fc92c2db580113ccc421
parenta9d0b7f9b87397c5190685affaac17b9d5dba652
SUNRPC: allow /proc entries without CONFIG_SUNRPC_DEBUG

If we want /proc/sys/sunrpc the current kernel also drags in other debug
features which we don't really want. Instead, we should always show the
following entries:

/proc/sys/sunrpc/udp_slot_table_entries
/proc/sys/sunrpc/tcp_slot_table_entries
/proc/sys/sunrpc/tcp_max_slot_table_entries
/proc/sys/sunrpc/min_resvport
/proc/sys/sunrpc/max_resvport
/proc/sys/sunrpc/tcp_fin_timeout

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Thomas Preston <thomas.preston@codethink.co.uk>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtsock.c