]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Re-enable irqs before pushing pending DMA requests
authorShannon Nelson <shannon.nelson@intel.com>
Sun, 24 Jun 2007 06:09:23 +0000 (23:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Jun 2007 06:09:23 +0000 (23:09 -0700)
commit08b18ca9e48b11ae08d2fb399ab1bb464bb8e6be
tree6585ad45e803219a3d635836afddb8eeab35b282
parentf45ad162c529e14c04cb7830c4a409b203208f59
[NET]: Re-enable irqs before pushing pending DMA requests

This moves the local_irq_enable() call in net_rx_action() to before
calling the CONFIG_NET_DMA's dma_async_memcpy_issue_pending() rather
than after.  This shortens the irq disabled window and allows for DMA
drivers that need to do their own irq hold.

Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c