diff options
| author | Petko Manolov <petkan@nucleusys.com> | 2026-01-06 10:48:21 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-17 16:35:29 +0100 |
| commit | ce6eef731aba23a988decea1df3b08cf978f7b01 (patch) | |
| tree | 2f10996d74b5a825026d91ebd79647f92b82639e /include/net/aligned_data.h | |
| parent | 51ffd447bc37bf1a5776b85523f51d2bc69977f6 (diff) | |
net: usb: pegasus: fix memory leak in update_eth_regs_async()
[ Upstream commit afa27621a28af317523e0836dad430bec551eb54 ]
When asynchronously writing to the device registers and if usb_submit_urb()
fail, the code fail to release allocated to this point resources.
Fixes: 323b34963d11 ("drivers: net: usb: pegasus: fix control urb submission")
Signed-off-by: Petko Manolov <petkan@nucleusys.com>
Link: https://patch.msgid.link/20260106084821.3746677-1-petko.manolov@konsulko.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
