summaryrefslogtreecommitdiff
path: root/drivers/net/mdio.c
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2017-11-02 01:31:30 -0700
committerDavid S. Miller <davem@davemloft.net>2017-11-02 20:27:11 +0900
commitdc4646a950153242313ed340f0a404de38b21d5c (patch)
treeccd8ef1fda021cf6970f048a36d493c36524c5b5 /drivers/net/mdio.c
parent2df7b2d20622f98bca2f001bb0e8d8bee01782ac (diff)
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 'drivers/net/mdio.c')
0 files changed, 0 insertions, 0 deletions