Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ksmbd: fix infinite loop when client send search patten
MacOS send search patten in smb2 query_dir. If there is no file that matched with search patten, d_info.num_entry is zero. This causes it to retry iterate_dir(), which leads to an infinite loop. Signed-off-by: Namjae Jeon <[email protected]>
- Loading branch information