summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2010-04-06 01:37:19 +0400
committerDavid S. Miller <davem@davemloft.net>2010-04-06 01:37:55 +0400
commit5a6d234e73d7d021c74e1aa349b3b37b81372c66 (patch)
treed81650bdc29edc5e67008abe0ede356d411e9309 /net/core/dev.c
parent7bddd0db6248d92adb1f547fd45507af4368d6fa (diff)
downloadlinux-5a6d234e73d7d021c74e1aa349b3b37b81372c66.tar.xz
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>
Diffstat (limited to 'net/core/dev.c')
-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 2a9b7dd0bb6e..74f77ca03349 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);