]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: call smc_cdc_msg_send() under send_lock
authorKarsten Graul <kgraul@linux.ibm.com>
Wed, 30 Jan 2019 17:51:06 +0000 (18:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2019 22:45:45 +0000 (14:45 -0800)
commite078940a6ba4937e84422da58322ab7f9556cdf0
treeb27d34e01aade5db71de45dbe45eeeb8bc6c1b19
parent82b2fae355f7ea53d09fbc9d314cbe11e5998589
net/smc: call smc_cdc_msg_send() under send_lock

Call smc_cdc_msg_send() under the connection send_lock to make sure all
send operations for one connection are serialized.

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>
net/smc/smc_cdc.c