summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2020-07-08 17:05:15 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-08 21:35:15 +0200
commitfb4f79264c0fc6fd5a68ffe3e31bfff97311e1f1 (patch)
tree2aaec43150c7273cedf19469c011ee52148ac4a6 /kernel/sysctl_binary.c
parentnet/smc: switch smcd_dev_list spinlock to mutex (diff)
downloadlinux-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