summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2010-04-05 21:37:19 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-04-05 21:37:55 (GMT)
commit5a6d234e73d7d021c74e1aa349b3b37b81372c66 (patch)
treed81650bdc29edc5e67008abe0ede356d411e9309 /net
parent7bddd0db6248d92adb1f547fd45507af4368d6fa (diff)
downloadlinux-fsl-qoriq-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')
-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 2a9b7dd..74f77ca 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);