[PATCH 301/308] ksmbd: Fix wrong return value and message length check in smb2_ioctl()