commit | f7dcc5e33c1e4b0d278a30f7d2f0c9a63d7b40ca | [log] [tgz] |
---|---|---|
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | Wed May 10 10:35:33 2023 +0900 |
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | Thu May 11 09:06:49 2023 +0900 |
tree | da3cd5d35809d08d28da8d0f17861859d63cd471 | |
parent | ac9a78681b921877518763ba0e89202254349d1b [diff] |
firewire: net: fix unexpected release of object for asynchronous request packet The lifetime of object for asynchronous request packet is now maintained by reference counting, while current implementation of firewire-net releases the passed object in the handler. This commit fixes the bug. Reported-by: Dan Carpenter <error27@gmail.com> Link: https://lore.kernel.org/lkml/Y%2Fymx6WZIAlrtjLc@workstation/ Fixes: 13a55d6bb15f ("firewire: core: use kref structure to maintain lifetime of data for fw_request structure") Link: https://lore.kernel.org/lkml/20230510031205.782032-1-o-takashi@sakamocchi.jp/ Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>