aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/pgtable.py
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2024-11-04 13:43:06 +0900
committerNamjae Jeon <[email protected]>2024-11-05 09:26:38 +0900
commit0a77d947f599b1f39065015bec99390d0c0022ee (patch)
treee39c5f6dca528bba8c67d2cec3c2ba9e99a7c4cb /scripts/gdb/linux/pgtable.py
parentb8fc56fbca7482c1e5c0e3351c6ae78982e25ada (diff)
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: [email protected] # v5.15+ Reported-by: Norbert Szetei <[email protected]> Tested-by: Norbert Szetei <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions