Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368291
b: refs/heads/master
c: 7f9421c
h: refs/heads/master
i:
  368289: f6598dc
  368287: e6b996e
v: v3
  • Loading branch information
Lai Jiangshan authored and David S. Miller committed Mar 17, 2013
1 parent 879b0e7 commit 185c9d0
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 6681712d67eef14c4ce793561c3231659153a320
refs/heads/master: 7f9421c264f8a6e6137027a45ae576517f66fa56
3 changes: 1 addition & 2 deletions trunk/net/core/netpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static struct sk_buff_head skb_pool;

static atomic_t trapped;

static struct srcu_struct netpoll_srcu;
DEFINE_STATIC_SRCU(netpoll_srcu);

#define USEC_PER_POLL 50
#define NETPOLL_RX_ENABLED 1
Expand Down Expand Up @@ -1212,7 +1212,6 @@ EXPORT_SYMBOL(netpoll_setup);
static int __init netpoll_init(void)
{
skb_queue_head_init(&skb_pool);
init_srcu_struct(&netpoll_srcu);
return 0;
}
core_initcall(netpoll_init);
Expand Down

0 comments on commit 185c9d0

Please sign in to comment.