aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2018-12-29 17:42:22 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-04 12:44:50 -0800
commit1492623e837fe7ca6296f7f5411328307e242771 (patch)
tree51c3ba3808a22fb2b16cc71816027e22ab493435 /net
parentRemove 'type' argument from access_ok() function (diff)
downloadlinux-dev-1492623e837fe7ca6296f7f5411328307e242771.tar.xz
linux-dev-1492623e837fe7ca6296f7f5411328307e242771.zip
octeontx2-af: Fix a resource leak in an error handling path in 'cgx_probe()'
If an error occurs after the call to 'pci_alloc_irq_vectors()', we must call 'pci_free_irq_vectors()' in order to avoid a resource leak. The same sequence is already in place in the corresponding 'cgx_remove()' function. Fixes: 1463f382f58d ("octeontx2-af: Add support for CGX link management") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions