WSL2-Linux-Kernel/drivers/net/ethernet/myricom
Christophe JAILLET f47426250f myri10ge: Fix an error handling path in myri10ge_probe()
[ Upstream commit d83b950d44 ]

Some memory allocated in myri10ge_probe_slices() is not released in the
error handling path of myri10ge_probe().

Add the corresponding kfree(), as already done in the remove function.

Fixes: 0dcffac1a3 ("myri10ge: add multislices support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:14:39 +01:00
..
myri10ge myri10ge: Fix an error handling path in myri10ge_probe() 2022-12-31 13:14:39 +01:00
Kconfig
Makefile