diff options
author | Dan Carpenter <[email protected]> | 2017-08-29 22:15:16 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-08-29 16:07:23 -0700 |
commit | e7562597b46d099a78d45c781ee8d1a7a93c53f1 (patch) | |
tree | a214f38a0e75cf1cb38f50c6c71d07195f0fea80 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | beae041307004de7965bfe43307a0e48c8ca40d1 (diff) |
nfp: double free on error in probe
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 <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions