summaryrefslogtreecommitdiff
path: root/lib/test_hash.c
diff options
context:
space:
mode:
authorKeqi Wang <wangkeqi_chris@163.com>2024-02-09 12:16:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-23 11:25:01 +0300
commitc99d215c0c0f52f3bbdceaeb0923a965ed76b6ea (patch)
tree6ea74ba3a2db8fcb0575455e11e7d7a56ee03e4f /lib/test_hash.c
parent56a19b790f57cf20192041ed88d2a89c46e07d8f (diff)
downloadlinux-c99d215c0c0f52f3bbdceaeb0923a965ed76b6ea.tar.xz
connector/cn_proc: revert "connector: Fix proc_event_num_listeners count not cleared"
commit 8929f95b2b587791a7dcd04cc91520194a76d3a6 upstream. This reverts commit c46bfba1337d ("connector: Fix proc_event_num_listeners count not cleared"). It is not accurate to reset proc_event_num_listeners according to cn_netlink_send_mult() return value -ESRCH. In the case of stress-ng netlink-proc, -ESRCH will always be returned, because netlink_broadcast_filtered will return -ESRCH, which may cause stress-ng netlink-proc performance degradation. Reported-by: kernel test robot <oliver.sang@intel.com> Closes: https://lore.kernel.org/oe-lkp/202401112259.b23a1567-oliver.sang@intel.com Fixes: c46bfba1337d ("connector: Fix proc_event_num_listeners count not cleared") Signed-off-by: Keqi Wang <wangkeqi_chris@163.com> Link: https://lore.kernel.org/r/20240209091659.68723-1-wangkeqi_chris@163.com Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_hash.c')
0 files changed, 0 insertions, 0 deletions