Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157028
b: refs/heads/master
c: 79b1bee
h: refs/heads/master
v: v3
  • Loading branch information
Dongdong Deng authored and David S. Miller committed Aug 24, 2009
1 parent d3e5f29 commit 02adccd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c189308bd8b6a29b11c3ec29a42a3f0aabad6bc8
refs/heads/master: 79b1bee888d43b14cf0c08fb8e5aa6cb161e48f8
5 changes: 5 additions & 0 deletions trunk/net/core/netpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,11 @@ static void netpoll_send_skb(struct netpoll *np, struct sk_buff *skb)

udelay(USEC_PER_POLL);
}

WARN_ONCE(!irqs_disabled(),
"netpoll_send_skb(): %s enabled interrupts in poll (%pF)\n",
dev->name, ops->ndo_start_xmit);

local_irq_restore(flags);
}

Expand Down

0 comments on commit 02adccd

Please sign in to comment.