diff options
author | John Hurley <john.hurley@netronome.com> | 2017-11-02 11:31:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-02 14:27:11 +0300 |
commit | dc4646a950153242313ed340f0a404de38b21d5c (patch) | |
tree | ccd8ef1fda021cf6970f048a36d493c36524c5b5 /arch/sparc/kernel/of_device_32.c | |
parent | 2df7b2d20622f98bca2f001bb0e8d8bee01782ac (diff) | |
download | linux-dc4646a950153242313ed340f0a404de38b21d5c.tar.xz |
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 'arch/sparc/kernel/of_device_32.c')
0 files changed, 0 insertions, 0 deletions