net: Add a missing local_irq_enable()
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 5 Apr 2010 22:42:39 +0000 (15:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Apr 2010 22:42:39 +0000 (15:42 -0700)
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>
net/core/dev.c

index 74f77ca033497604bce3985ad44bef2ec8f8ed29..b98ddc62a55de5dc81df416d9a7d278d9714d757 100644 (file)
@@ -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);