diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-24 02:23:28 +0900 |
|---|---|---|
| committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-24 02:23:28 +0900 |
| commit | 76ef77d7e6cba02cb7b691e874389e3333ece969 (patch) | |
| tree | 3c81b0324f5cc477924e379bd7fcce6ec9b6f23f /include | |
| parent | a689a10b519f98cd119c5ed8534a851e2a92f197 (diff) | |
firewire: cdev: fix client refcount leak in iso_resource_auto_work()
The client reference leaks when the pending work is cancelled because an
additional reference was taken when scheduling the work.
The reference held by the fw_iso_resource_auto object already ensures
that the client structure remains valid for the lifetime of the object.
Therefore, the additional reference taken when scheduling the work is
unnecessary.
Remove the additional reference.
Reported-by: Dingisoul <dingiso.kernel@gmail.com>
Link: https://sourceforge.net/p/linux1394/mailman/message/59317811/
Link: https://lore.kernel.org/r/20260923172328.277232-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
