]> git.baikalelectronics.ru Git - kernel.git/commit
net: use netif_rx_ni() from process context
authorEric Dumazet <edumazet@google.com>
Thu, 5 Feb 2015 22:58:14 +0000 (14:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Feb 2015 06:43:52 +0000 (22:43 -0800)
commit69be6ab791ee4f30fe4b71bca842056910cb59b9
tree686afc903f349584ed97d89d407cc9ad92c5aca9
parent217b0bb9385a9310656b14440e4a0b98358f48d3
net: use netif_rx_ni() from process context

Hotpluging a cpu might be rare, yet we have to use proper
handlers when taking over packets found in backlog queues.

dev_cpu_callback() runs from process context, thus we should
call netif_rx_ni() to properly invoke softirq handler.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c