rps: fixed missed rps_unlock
Tom Herbert [Mon, 5 Apr 2010 21:37:19 +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 2a9b7dd..74f77ca 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);