summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2010-04-05 14:37:19 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-05 14:37:55 -0700
commit5a6d234e73d7d021c74e1aa349b3b37b81372c66 (patch)
treed81650bdc29edc5e67008abe0ede356d411e9309
parent7bddd0db6248d92adb1f547fd45507af4368d6fa (diff)
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>
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 2a9b7dd0bb6..74f77ca0334 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -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);