diff options
author | Ursula Braun <ubraun@linux.ibm.com> | 2020-07-08 17:05:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-08 21:35:15 +0200 |
commit | fb4f79264c0fc6fd5a68ffe3e31bfff97311e1f1 (patch) | |
tree | 2aaec43150c7273cedf19469c011ee52148ac4a6 /kernel/sysctl_binary.c | |
parent | net/smc: switch smcd_dev_list spinlock to mutex (diff) | |
download | linux-fb4f79264c0fc6fd5a68ffe3e31bfff97311e1f1.tar.xz linux-fb4f79264c0fc6fd5a68ffe3e31bfff97311e1f1.zip |
net/smc: tolerate future SMCD versions
CLC proposal messages of future SMCD versions could be larger than SMCD
V1 CLC proposal messages.
To enable toleration in SMC V1 the receival of CLC proposal messages
is adapted:
* accept larger length values in CLC proposal
* check trailing eye catcher for incoming CLC proposal with V1 length only
* receive the whole CLC proposal even in cases it does not fit into the
V1 buffer
Fixes: e7b7a64a8493d ("smc: support variable CLC proposal messages")
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions