]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/core/dev.c
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)
commit91e83133e70ebe1572746d1ad858b4eb28ab9b53
tree686afc903f349584ed97d89d407cc9ad92c5aca9
parent364d5716a7adb91b731a35765d369602d68d2881
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