aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
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 /net/core/dev.c
parentl2tp: unmanaged L2TPv3 tunnels fixes (diff)
downloadlinux-dev-5a6d234e73d7d021c74e1aa349b3b37b81372c66.tar.xz
linux-dev-5a6d234e73d7d021c74e1aa349b3b37b81372c66.zip
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 '')
-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);