aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_request.c
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2022-12-07 01:50:01 +0000
committerJakub Kicinski <[email protected]>2022-12-08 17:07:37 +0000
commited14e5903638f6eb868e3e2b4e610985e6a6c876 (patch)
tree46094f7780135153e26e673f10edaf48e71d1303 /net/bluetooth/hci_request.c
parentipv6: avoid use-after-free in ip6_fragment() (diff)
downloadkernel-ed14e5903638f6eb868e3e2b4e610985e6a6c876.tar.gz
kernel-ed14e5903638f6eb868e3e2b4e610985e6a6c876.zip
net: thunderbolt: fix memory leak in tbnet_open()
When tb_ring_alloc_rx() failed in tbnet_open(), ida that allocated in tb_xdomain_alloc_out_hopid() is not released. Add tb_xdomain_release_out_hopid() to the error path to release ida. Fixes: 180b0689425c ("thunderbolt: Allow multiple DMA tunnels over a single XDomain connection") Signed-off-by: Zhengchao Shao <[email protected]> Acked-by: Mika Westerberg <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions