diff options
author | Tom Herbert <therbert@google.com> | 2010-04-05 17:37:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-05 17:37:55 -0400 |
commit | 5a6d234e73d7d021c74e1aa349b3b37b81372c66 (patch) | |
tree | d81650bdc29edc5e67008abe0ede356d411e9309 | |
parent | 7bddd0db6248d92adb1f547fd45507af4368d6fa (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.c | 2 |
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) | |||
3120 | skb = __skb_dequeue(&queue->input_pkt_queue); | 3120 | skb = __skb_dequeue(&queue->input_pkt_queue); |
3121 | if (!skb) { | 3121 | if (!skb) { |
3122 | __napi_complete(napi); | 3122 | __napi_complete(napi); |
3123 | spin_unlock_irq(&queue->input_pkt_queue.lock); | 3123 | rps_unlock(queue); |
3124 | break; | 3124 | break; |
3125 | } | 3125 | } |
3126 | rps_unlock(queue); | 3126 | rps_unlock(queue); |