WSL2-Linux-Kernel/drivers/net/irda
Alexey Khoroshilov 8947312987 net/irda/mcs7780: fix memory leaks in mcs_net_open()
If rx_urb allocation fails in mcs_setup_urbs(), tx_urb leaks.
If mcs_receive_start() fails in mcs_net_open(), the both urbs are not deallocated.

The patch fixes the issues and by the way fixes label indentation.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-09-12 23:43:56 -04:00
..
Kconfig tty/serial patches for 3.9-rc1 2013-02-21 13:41:04 -08:00
Makefile
act200l-sir.c
actisys-sir.c
ali-ircc.c drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
ali-ircc.h
au1k_ir.c net: au1k_ir: Use module_platform_driver() 2013-03-20 13:25:36 -04:00
bfin_sir.c net: irda: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
bfin_sir.h
donauboe.c irda: donauboe: Remove casting the return value which is a void pointer 2013-09-11 16:10:00 -04:00
donauboe.h
ep7211-sir.c irda: ep7211-sir: Convert to platform_diver 2012-12-03 13:32:15 -05:00
esi-sir.c
girbil-sir.c
irda-usb.c
irda-usb.h
irtty-sir.c tty: Convert termios_mutex to termios_rwsem 2013-07-23 16:43:01 -07:00
irtty-sir.h
kingsun-sir.c
ks959-sir.c drivers/net/irda: fix error return code 2012-08-20 02:33:21 -07:00
ksdazzle-sir.c drivers/net/irda: fix error return code 2012-08-20 02:33:21 -07:00
litelink-sir.c
ma600-sir.c
mcp2120-sir.c
mcs7780.c net/irda/mcs7780: fix memory leaks in mcs_net_open() 2013-09-12 23:43:56 -04:00
mcs7780.h
nsc-ircc.c drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
nsc-ircc.h
old_belkin-sir.c
pxaficp_ir.c net: irda: pxaficp_ir: use platform_set_drvdata() 2013-08-21 20:51:10 -07:00
sa1100_ir.c drivers/net/irda/sa1100_ir.c: fix error return code 2012-10-07 14:37:11 -04:00
sh_irda.c net: irda: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
sh_sir.c net: irda: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
sir-dev.h
sir_dev.c irda: sir_dev: Fix copy/paste typo 2012-11-20 15:51:55 -05:00
sir_dongle.c
smsc-ircc2.c drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
smsc-ircc2.h
smsc-sio.h
stir4200.c
tekram-sir.c
toim3232-sir.c
via-ircc.c drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
via-ircc.h
vlsi_ir.c irda: vlsi_ir: Remove casting the return value which is a void pointer 2013-09-11 16:10:00 -04:00
vlsi_ir.h
w83977af.h
w83977af_ir.c drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
w83977af_ir.h