summaryrefslogtreecommitdiffstats
path: root/net/smc/af_smc.c
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2019-02-12 16:29:53 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-12 11:59:45 -0500
commitcf0cfe535845cf60830e1482f7e618d80140e8d9 (patch)
treec2331f49500785629623e61abc28fb2ea85037dd /net/smc/af_smc.c
parent16297d143989e3f5acd75c1ca0a771b78aa12b46 (diff)
downloadlinux-cf0cfe535845cf60830e1482f7e618d80140e8d9.tar.gz
linux-cf0cfe535845cf60830e1482f7e618d80140e8d9.tar.bz2
linux-cf0cfe535845cf60830e1482f7e618d80140e8d9.zip
net/smc: reduce amount of status updates to peer
In smc_cdc_msg_recv_action() the received cdc message is evaluated. To reduce the number of messaged triggered by this evaluation the logic is streamlined. For the write_blocked condition we do not need to send a response immediately. The remaining conditions can be put together into one if clause. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/af_smc.c')
0 files changed, 0 insertions, 0 deletions