Skip to content

Commit

Permalink
net: Add a missing local_irq_enable()
Browse files Browse the repository at this point in the history
As noticed by Changli Gao, we must call local_irq_enable() after
rps_unlock()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Apr 5, 2010
1 parent 5a6d234 commit e400827
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -3121,6 +3121,7 @@ static int process_backlog(struct napi_struct *napi, int quota)
if (!skb) {
__napi_complete(napi);
rps_unlock(queue);
local_irq_enable();
break;
}
rps_unlock(queue);
Expand Down

0 comments on commit e400827

Please sign in to comment.