aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorVishal Verma <[email protected]>2022-06-28 22:01:09 +0000
committerDan Williams <[email protected]>2022-06-29 05:03:18 +0000
commite35f5718903b093be4b1d3833aa8a32f864a3ef1 (patch)
treee105abb052229ab67bea308c200f02095489e4d7 /net/unix/af_unix.c
parentmemregion: Fix memregion_free() fallback definition (diff)
downloadkernel-e35f5718903b093be4b1d3833aa8a32f864a3ef1.tar.gz
kernel-e35f5718903b093be4b1d3833aa8a32f864a3ef1.zip
cxl/mbox: Fix missing variable payload checks in cmd size validation
The conversion of command sizes to unsigned missed a couple of checks against variable size payloads during command validation, which made all variable payload commands unconditionally fail. Add the checks back using the new CXL_VARIABLE_PAYLOAD scheme. Fixes: 26f89535a5bb ("cxl/mbox: Use type __u32 for mailbox payload sizes") Cc: <[email protected]> Cc: Ira Weiny <[email protected]> Cc: Dan Williams <[email protected]> Cc: Alison Schofield <[email protected]> Reported-by: Abhi Cs <[email protected]> Reviewed-by: Dan Williams <[email protected]> Reviewed-by: Alison Schofield <[email protected]> Signed-off-by: Vishal Verma <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions