|
@@ -947,7 +947,7 @@ qdisc_create(struct net_device *dev, struct netdev_queue *dev_queue,
|
|
if (!ops->init || (err = ops->init(sch, tca[TCA_OPTIONS])) == 0) {
|
|
if (!ops->init || (err = ops->init(sch, tca[TCA_OPTIONS])) == 0) {
|
|
if (qdisc_is_percpu_stats(sch)) {
|
|
if (qdisc_is_percpu_stats(sch)) {
|
|
sch->cpu_bstats =
|
|
sch->cpu_bstats =
|
|
- alloc_percpu(struct gnet_stats_basic_cpu);
|
|
|
|
|
|
+ netdev_alloc_pcpu_stats(struct gnet_stats_basic_cpu);
|
|
if (!sch->cpu_bstats)
|
|
if (!sch->cpu_bstats)
|
|
goto err_out4;
|
|
goto err_out4;
|
|
|
|
|