summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-12-18 21:08:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-14 12:16:12 +0300
commit7c3a20bfd23bdb0d92e8b9ac00feafd438adce61 (patch)
tree383d33abd0c29616dfad7d7b8ad7538eb26d6e3a /net
parent3c973736909fd95548cea68616321c2e522fdeeb (diff)
downloadlinux-7c3a20bfd23bdb0d92e8b9ac00feafd438adce61.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 'net')
0 files changed, 0 insertions, 0 deletions