net/smc: Call trace_smc_tx_sendmsg when data corked
authorTony Lu <tonylu@linux.alibaba.com>
Fri, 25 Feb 2022 07:34:21 +0000 (15:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2022 11:32:42 +0000 (11:32 +0000)
commit6900de507cd471492d83aabd48f13abb9c016d4d
tree6bb13d6bb47642d829c57547bb47da9463b3ab77
parentc4eb058ead1765662e77cf797f5035fbae1ffc24
net/smc: Call trace_smc_tx_sendmsg when data corked

This also calls trace_smc_tx_sendmsg() even if data is corked. For ease
of understanding, if statements are not expanded here.

Link: https://lore.kernel.org/all/f4166712-9a1e-51a0-409d-b7df25a66c52@linux.ibm.com/
Fixes: 139653bc6635 ("net/smc: Remove corked dealyed work")
Suggested-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_tx.c