diff options
author | Wen Gu <guwen@linux.alibaba.com> | 2022-04-22 09:56:18 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-25 20:03:48 +0200 |
commit | 97b9af7a70936e331170c79040cc9bf20071b566 (patch) | |
tree | 1a0b5bc5054b231e1cc9d87353b1c2b9629372f0 /net/mac802154/util.c | |
parent | tcp: make sure treq->af_specific is initialized (diff) | |
download | linux-97b9af7a70936e331170c79040cc9bf20071b566.tar.xz linux-97b9af7a70936e331170c79040cc9bf20071b566.zip |
net/smc: Only save the original clcsock callback functions
Both listen and fallback process will save the current clcsock
callback functions and establish new ones. But if both of them
happen, the saved callback functions will be overwritten.
So this patch introduces some helpers to ensure that only save
the original callback functions of clcsock.
Fixes: 341adeec9ada ("net/smc: Forward wakeup to smc socket waitqueue after fallback")
Signed-off-by: Wen Gu <guwen@linux.alibaba.com>
Acked-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mac802154/util.c')
0 files changed, 0 insertions, 0 deletions