]> 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)
commit251b5780b00cf18220631e26323c31d1b08416ba
tree1a7a041bd5d57f709f5736395425b297b14f1f58
parentad086d5f2ebc3f2bd677b59a370441e67996fc76
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