]> 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)
commit5e5df70593a06c32aa6fd4ab108bc122aa42791a
tree384fd0239dc6c8726ddb936cdc39846a83394019
parent669e30aa06f0e947e02d3b3264b44fa9266add17
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