summaryrefslogtreecommitdiff
path: root/drivers/net/thunderbolt.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-12-18 21:08:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-31 15:32:56 +0300
commit70c8fcab6bf205c104987908cc6a421fcf572649 (patch)
tree132606fe3bc057197e9f9a6befdeb5c2eac8fec8 /drivers/net/thunderbolt.c
parent7d88da597173beb3b45a71008db72b174a2e339b (diff)
downloadlinux-70c8fcab6bf205c104987908cc6a421fcf572649.tar.xz
myri10ge: Fix an error handling path in myri10ge_probe()
[ Upstream commit d83b950d44d2982c0e62e3d81b0f35ab09431008 ] 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: 0dcffac1a329 ("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>
Diffstat (limited to 'drivers/net/thunderbolt.c')
0 files changed, 0 insertions, 0 deletions