aboutsummaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorJeremy Kerr <jk@codeconstruct.com.au>2024-07-10 10:17:22 +0800
committerDavid S. Miller <davem@davemloft.net>2024-07-12 13:37:31 +0100
commit338a93cf4a18c2036b567e9f613367f7a52f2511 (patch)
tree9bfae6db5f4e05344c6441a54e3c708f1fe6de3e /ipc
parent2146b7dd354c2a1384381ca3cd5751bfff6137d6 (diff)
net: mctp-i2c: invalidate flows immediately on TX errors
If we encounter an error on i2c packet transmit, we won't have a valid flow anymore; since we didn't transmit a valid packet sequence, we'll have to wait for the key to timeout instead of dropping it on the reply. This causes the i2c lock to be held for longer than necessary. Instead, invalidate the flow on TX error, and release the i2c lock immediately. Cc: Bonnie Lo <Bonnie_Lo@wiwynn.com> Tested-by: Jerry C Chen <Jerry_C_Chen@wiwynn.com> Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions