]> git.baikalelectronics.ru Git - kernel.git/commit
rocker: mark neigh update event processing as 'no wait'
authorScott Feldman <sfeldma@gmail.com>
Sat, 13 Jun 2015 04:35:47 +0000 (21:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Jun 2015 23:06:48 +0000 (16:06 -0700)
commit5d12548b3881c6dc067a5413008beee0568fe860
tree1a7a041bd5d57f709f5736395425b297b14f1f58
parente68569dead1e1881ba93a2603db61dfb504d50bd
rocker: mark neigh update event processing as 'no wait'

Neigh update event handler runs in a context where we can't sleep, so mark
processing in driver with ROCKER_OP_FLAG_NOWAIT.  NOWAIT will use
GFP_ATOMIC for allocations and will queue cmds to the device's cmd ring but
will not wait (sleep) for cmd response back from device.

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