Re: [PATCH v2] ksmbd: build a response when the connection state stops a request

From: Namjae Jeon

Date: Thu Dec 03 2026 - 22:01:47 EST


> @@ -179,7 +177,7 @@ static int __process_request(struct ksmbd_work *work, struct ksmbd_conn *conn,
> int ret;
>
> if (check_conn_state(work))
> - return SERVER_HANDLER_CONTINUE;
> + return SERVER_HANDLER_ABORT;
Could we return credits already granted to earlier commands without
charging this unverified command? And could we validate the request
before signing this error response, or avoid sending it if it cannot
be authenticated?