Re: [PATCH] thunderbolt: Call tb_switch_put() once DisplayPort bandwidth request is finished

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 03, 2023 at 12:23:02PM +0300, Mika Westerberg wrote:
> From: Gil Fine <gil.fine@xxxxxxxxxxxxxxx>
> 
> When handling DisplayPort bandwidth request tb_switch_find_by_route() is
> called and it returns a router structure with reference count increased.
> In order to avoid resource leak call tb_switch_put() when finished.
> 
> Fixes: 6ce3563520be ("thunderbolt: Add support for DisplayPort bandwidth allocation mode")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Gil Fine <gil.fine@xxxxxxxxxxxxxxx>
> Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>

Applied to thunderbolt.git/fixes.




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux