Unverified Commit 303e4578 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 45af58d2 ff45e8b3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -322,7 +322,8 @@ int ksmbd_conn_handler_loop(void *p)
		}

		/* 4 for rfc1002 length field */
		size = pdu_size + 4;
		/* 1 for implied bcc[0] */
		size = pdu_size + 4 + 1;
		conn->request_buf = kvmalloc(size, GFP_KERNEL);
		if (!conn->request_buf)
			continue;