]> git.baikalelectronics.ru Git - kernel.git/commit
rocker: move port stop to 'no wait' processing
authorScott Feldman <sfeldma@gmail.com>
Sat, 13 Jun 2015 04:35:50 +0000 (21:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Jun 2015 23:06:49 +0000 (16:06 -0700)
commitfeacbf8272f386bfe0ac5604f94addde7e8c1b21
tree384fd0239dc6c8726ddb936cdc39846a83394019
parentcd232f039f76cca611a5165e019102666e120d9a
rocker: move port stop to 'no wait' processing

rocker_port_stop can be called from atomic and non-atomic contexts.  Since
we can't test what context we're getting called in, do the processing as
'no wait', which will cover all cases.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c