]> Gentwo Git Trees - linux/.git/commit
firewire: core: abort pending transactions at card removal
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 11 Nov 2025 22:38:34 +0000 (07:38 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 13 Nov 2025 19:30:58 +0000 (04:30 +0900)
commit036176d9dba74e23e3ef358e171a77b75837fee0
tree0af96930d3a5404c92009657bddadd01b11e91c1
parentae1ef2fbb8c9091e0ea62734a4a232ad9928701b
firewire: core: abort pending transactions at card removal

IEEE 1394 defines the split, concatenated, and unified transaction.
To support the split transaction, core function uses linked list to
maintain the transactions waiting for acknowledge packet. After clearing
sources of hardware interrupts, the acknowledge packet is no longer
handled, therefore it is required to abort the pending transactions.

This commit executes callback with RCODE_CANCELLED for the pending
transactions at card removal.

Link: https://lore.kernel.org/r/20251111223834.311287-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-card.c
drivers/firewire/core-transaction.c
drivers/firewire/core.h
drivers/firewire/ohci.c