]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8bff07ddf698c78d289d880d13db691366d2083c
tree6bb13d6bb47642d829c57547bb47da9463b3ab77
parent91e303c28803e6df61519c0ea7de77d2e6935f80
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: 052b5e72fa69 ("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