summaryrefslogtreecommitdiff
path: root/net/smc/af_smc.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-02-14 07:09:36 -0800
committerDavid S. Miller <davem@davemloft.net>2020-02-14 07:09:36 -0800
commit907e51e41ad9061b49811750475bfeb75c0f2b3c (patch)
tree9c0d320edb8d2b084fcd1d721db5aa3315b4bc31 /net/smc/af_smc.c
parentdc221a28d0944f1a28755caa66bf58bfa47e26d1 (diff)
parent369537c97024dca99303a8d4d6ab38b4f54d3909 (diff)
Merge branch 'smc-fixes'
Karsten Graul says: ==================== net/smc: fixes for -net Fix a syzbot finding and a problem with the CLC handshake content. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/af_smc.c')
-rw-r--r--net/smc/af_smc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/smc/af_smc.c b/net/smc/af_smc.c
index cee5bf4a9bb9..90988a511cd5 100644
--- a/net/smc/af_smc.c
+++ b/net/smc/af_smc.c
@@ -470,6 +470,8 @@ static void smc_switch_to_fallback(struct smc_sock *smc)
if (smc->sk.sk_socket && smc->sk.sk_socket->file) {
smc->clcsock->file = smc->sk.sk_socket->file;
smc->clcsock->file->private_data = smc->clcsock;
+ smc->clcsock->wq.fasync_list =
+ smc->sk.sk_socket->wq.fasync_list;
}
}