diff options
author | Jeremy Kerr <[email protected]> | 2024-07-10 10:17:22 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-07-12 13:37:31 +0100 |
commit | 338a93cf4a18c2036b567e9f613367f7a52f2511 (patch) | |
tree | 9bfae6db5f4e05344c6441a54e3c708f1fe6de3e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2146b7dd354c2a1384381ca3cd5751bfff6137d6 (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 <[email protected]>
Tested-by: Jerry C Chen <[email protected]>
Signed-off-by: Jeremy Kerr <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions