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)
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

Simple merge