diff options
author | 2017-11-02 01:31:30 -0700 | |
---|---|---|
committer | 2017-11-02 20:27:11 +0900 | |
commit | dc4646a950153242313ed340f0a404de38b21d5c (patch) | |
tree | ccd8ef1fda021cf6970f048a36d493c36524c5b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nfp: flower: app should use struct nfp_repr (diff) | |
download | linux-dev-dc4646a950153242313ed340f0a404de38b21d5c.tar.xz linux-dev-dc4646a950153242313ed340f0a404de38b21d5c.zip |
nfp: flower: vxlan - ensure no sleep in atomic context
Functions called by the netevent notifier must be in atomic context.
Change the mutex to spinlock and ensure mem allocations are done with the
atomic flag.
Also, remove unnecessary locking after notifiers are unregistered.
Signed-off-by: John Hurley <john.hurley@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/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions