blob: 453daa6d7607dac496caf0f89544a70fa4158f24 [file] [log] [blame]
From f9ad797b40b26ab9cb5b9233f0c6ccad414f256b Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:53 -0500
Subject: [PATCH] net: Reduce preempt disabled region
commit 5a90027b0f8c9b872a7f51a4d5bbc63f5a8716cb in tip.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
diff --git a/net/core/dev.c b/net/core/dev.c
index ec87421..516f8a3 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2173,8 +2173,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();
--
1.7.1.1