mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
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>
This commit is contained in:
parent
7bddd0db62
commit
5a6d234e73
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue