Thread (3 messages) 3 messages, 3 authors, 2017-08-29

Re: [PATCH net] nfp: double free on error in probe

flat view

From: David Miller <davem@davemloft.net>
Date: 2017-08-29 23:07:40
Also in: kernel-janitors

From: Dan Carpenter <redacted>
Date: Tue, 29 Aug 2017 22:15:16 +0300
Both the nfp_net_pf_app_start() and the nfp_net_pci_probe() functions
call nfp_net_pf_app_stop_ctrl(pf) so there is a double free.  The free
should be done from the probe function because it's allocated there so
I have removed the call from nfp_net_pf_app_start().

Fixes: 02082701b974 ("nfp: create control vNICs and wire up rx/tx")
Signed-off-by: Dan Carpenter <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help