summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-04-05 15:42:39 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-05 15:42:39 -0700
commite4008276fddd10445ff06707694a938cb7f35ed4 (patch)
treed591687518ac0bc08d192c7047faeb63967f7270 /net/core
parent5a6d234e73d7d021c74e1aa349b3b37b81372c66 (diff)
downloadlinux-e4008276fddd10445ff06707694a938cb7f35ed4.tar.bz2
net: Add a missing local_irq_enable()
As noticed by Changli Gao, we must call local_irq_enable() after rps_unlock() Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 74f77ca03349..b98ddc62a55d 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3121,6 +3121,7 @@ static int process_backlog(struct napi_struct *napi, int quota)
if (!skb) {
__napi_complete(napi);
rps_unlock(queue);
+ local_irq_enable();
break;
}
rps_unlock(queue);