Commit 4abdd528 authored by David S. Miller's avatar David S. Miller

[NET]: Preemption disabling is superfluous in net_rx_action().

Noticed by Jan Glauber, confirmed by Stephen Hemminger.
parent 27cd7e0f
......@@ -1836,7 +1836,6 @@ static void net_rx_action(struct softirq_action *h)
int budget = netdev_max_backlog;
preempt_disable();
local_irq_disable();
while (!list_empty(&queue->poll_list)) {
......@@ -1865,7 +1864,6 @@ static void net_rx_action(struct softirq_action *h)
}
out:
local_irq_enable();
preempt_enable();
return;
softnet_break:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment