Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88002
b: refs/heads/master
c: 50fd440
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Mar 28, 2008
1 parent d89851a commit 90fbafa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8eeee8b152ae6bbe181518efaf62ba8e9c613693
refs/heads/master: 50fd4407b8bfbde7c1a0bfe4f24de7df37164342
6 changes: 4 additions & 2 deletions trunk/include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,11 @@ static inline void __napi_complete(struct napi_struct *n)

static inline void napi_complete(struct napi_struct *n)
{
local_irq_disable();
unsigned long flags;

local_irq_save(flags);
__napi_complete(n);
local_irq_enable();
local_irq_restore(flags);
}

/**
Expand Down

0 comments on commit 90fbafa

Please sign in to comment.