Home
last modified time | relevance | path

Searched hist:b55a21b764c1e182014630fa5486d717484ac58f (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/usb/
H A Dusbnet.cdiff b55a21b764c1e182014630fa5486d717484ac58f Tue Jul 05 07:53:51 CDT 2022 Oliver Neukum <oneukum@suse.com> usbnet: fix memory leak in error case

usbnet_write_cmd_async() mixed up which buffers
need to be freed in which error case.

v2: add Fixes tag
v3: fix uninitialized buf pointer

Fixes: 877bd862f32b8 ("usbnet: introduce usbnet 3 command helpers")
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/20220705125351.17309-1-oneukum@suse.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>