aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2017-06-27 00:50:19 -0700
committerDavid S. Miller <[email protected]>2017-06-27 15:48:47 -0400
commit9ce6bbbb0503e58e8629ae0185e916b271237bc3 (patch)
treec0401e79f9b4f45c5f020b72e449210fe6a0d711 /tools/perf/scripts
parent8a119cef9a84c396c7de49da2fb4b8af09e96d2b (diff)
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 <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions