rps: fixed missed rps_unlock

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>
This commit is contained in:
Tom Herbert 2010-04-05 14:37:19 -07:00 committed by David S. Miller
parent 7bddd0db62
commit 5a6d234e73

View File

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