ksmbd: add reserved room in ipc request/response
authorNamjae Jeon <linkinjeon@kernel.org>
Thu, 6 Jan 2022 01:30:31 +0000 (10:30 +0900)
committerSteve French <stfrench@microsoft.com>
Mon, 10 Jan 2022 18:44:19 +0000 (12:44 -0600)
commit41dbda16a0902798e732abc6599de256b9dc3b27
treee023d8b97926f81d3bfbdb88b3d8ee0eef639a14
parent99b7650ac51847e81b4d5139824e321e6cb76130
ksmbd: add reserved room in ipc request/response

Whenever new parameter is added to smb configuration, It is possible
to break the execution of the IPC daemon by mismatch size of
request/response. This patch tries to reserve space in ipc request/response
in advance to prevent that.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/ksmbd_netlink.h