net: sched: initialize bstats syncp
authorSabrina Dubroca <sd@queasysnail.net>
Tue, 21 Oct 2014 09:23:30 +0000 (11:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Oct 2014 01:45:21 +0000 (21:45 -0400)
commit7c1c97d54f9bfc810908d3903cb8bcacf734df18
tree50a5b0c0ccbf50d5a6190909ea305aa5f42e96b2
parent32bf08a6257b9c7380dcd040af3c0858eee3ef05
net: sched: initialize bstats syncp

Use netdev_alloc_pcpu_stats to allocate percpu stats and initialize syncp.

Fixes: 22e0f8b9322c "net: sched: make bstats per cpu and estimator RCU safe"
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c