diff options
author | 2020-10-14 19:43:28 +0200 | |
---|---|---|
committer | 2020-10-15 09:54:43 -0700 | |
commit | ef12ad45880b696eb993d86c481ca891836ab593 (patch) | |
tree | f4d46f5420b536e7db6941834e87adbaf887c9e7 /net/unix/af_unix.c | |
parent | net/smc: fix use-after-free of delayed events (diff) | |
download | linux-dev-ef12ad45880b696eb993d86c481ca891836ab593.tar.xz linux-dev-ef12ad45880b696eb993d86c481ca891836ab593.zip |
net/smc: fix valid DMBE buffer sizes
The SMCD_DMBE_SIZES should include all valid DMBE buffer sizes, so the
correct value is 6 which means 1MB. With 7 the registration of an ISM
buffer would always fail because of the invalid size requested.
Fix that and set the value to 6.
Fixes: c6ba7c9ba43d ("net/smc: add base infrastructure for SMC-D and ISM")
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions