rps: fixed missed rps_unlock
authorTom Herbert <therbert@google.com>
Mon, 5 Apr 2010 21:37:19 +0000 (14:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Apr 2010 21:37:55 +0000 (14:37 -0700)
Fix spin_unlock_irq which needs to be rps_unlock.

Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

index 2a9b7dd0bb6e106ea43f1469481a0050da6449bf..74f77ca033497604bce3985ad44bef2ec8f8ed29 100644 (file)
@@ -3120,7 +3120,7 @@ static int process_backlog(struct napi_struct *napi, int quota)
                skb = __skb_dequeue(&queue->input_pkt_queue);
                if (!skb) {
                        __napi_complete(napi);
-                       spin_unlock_irq(&queue->input_pkt_queue.lock);
+                       rps_unlock(queue);
                        break;
                }
                rps_unlock(queue);