aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-06-27 00:50:19 -0700
committerDavid S. Miller <davem@davemloft.net>2017-06-27 15:48:47 -0400
commit9ce6bbbb0503e58e8629ae0185e916b271237bc3 (patch)
treec0401e79f9b4f45c5f020b72e449210fe6a0d711 /tools/perf/scripts
parentnfp: remove unused nfp_cpp_area_check_range() (diff)
downloadlinux-9ce6bbbb0503e58e8629ae0185e916b271237bc3.tar.gz
linux-9ce6bbbb0503e58e8629ae0185e916b271237bc3.zip
nfp: add nfp_app cleanup callback and make flower use it
Add a cleanup callback for undoing what app init callback did. Make flower allocate its private structure on init and free it from the new callback. While at it remember to set the app pointer to NULL on the error path to avoid any races while probe path unwinds. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions