diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-04-06 00:42:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-06 00:42:39 +0200 |
commit | e4008276fddd10445ff06707694a938cb7f35ed4 (patch) | |
tree | d591687518ac0bc08d192c7047faeb63967f7270 /net/core/dev.c | |
parent | rps: fixed missed rps_unlock (diff) | |
download | linux-e4008276fddd10445ff06707694a938cb7f35ed4.tar.xz linux-e4008276fddd10445ff06707694a938cb7f35ed4.zip |
net: Add a missing local_irq_enable()
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>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 74f77ca03349..b98ddc62a55d 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -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); |