summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2024-11-04 07:43:06 +0300
committerNamjae Jeon <linkinjeon@kernel.org>2024-11-05 03:26:38 +0300
commit0a77d947f599b1f39065015bec99390d0c0022ee (patch)
treee39c5f6dca528bba8c67d2cec3c2ba9e99a7c4cb /tools/perf/scripts/python/syscall-counts-by-pid.py
parentb8fc56fbca7482c1e5c0e3351c6ae78982e25ada (diff)
downloadlinux-0a77d947f599b1f39065015bec99390d0c0022ee.tar.xz
ksmbd: check outstanding simultaneous SMB operations
If Client send simultaneous SMB operations to ksmbd, It exhausts too much memory through the "ksmbd_work_cacheā€. It will cause OOM issue. ksmbd has a credit mechanism but it can't handle this problem. This patch add the check if it exceeds max credits to prevent this problem by assuming that one smb request consumes at least one credit. Cc: stable@vger.kernel.org # v5.15+ Reported-by: Norbert Szetei <norbert@doyensec.com> Tested-by: Norbert Szetei <norbert@doyensec.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions