diff options
author | Takashi Sakamoto <[email protected]> | 2023-05-10 10:35:33 +0900 |
---|---|---|
committer | Takashi Sakamoto <[email protected]> | 2023-05-11 09:06:49 +0900 |
commit | f7dcc5e33c1e4b0d278a30f7d2f0c9a63d7b40ca (patch) | |
tree | da3cd5d35809d08d28da8d0f17861859d63cd471 /drivers/fpga/fpga-bridge.c | |
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 <[email protected]>
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/[email protected]/
Signed-off-by: Takashi Sakamoto <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions