Commit 5a90027b authored by Ingo Molnar's avatar Ingo Molnar Committed by Thomas Gleixner

net: Reduce preempt disabled region

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 75f82937
......@@ -1995,8 +1995,8 @@ int netif_rx_ni(struct sk_buff *skb)
{
int err;
preempt_disable();
err = netif_rx(skb);
preempt_disable();
if (local_softirq_pending())
do_softirq();
preempt_enable();
......
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