Commit 0221cd51 authored by John Fastabend's avatar John Fastabend Committed by David S. Miller

Revert "net: netprio_cgroup: make net_prio_subsys static"

This reverts commit 865d9f9f.

This commit breaks the build with CONFIG_NETPRIO_CGROUP=y so
revert it. It does build as a module though. The SUBSYS macro
in the cgroup core code automatically defines a subsys structure
as extern. Long term we should fix the macro. And I need to
fully build test things.

Tested with CONFIG_NETPRIO_CGROUP={y|m|n} with and without
Signed-off-by: default avatarJohn Fastabend <>
CC: Neil Horman <>
Reported-By: default avatarEric Dumazet <>
Signed-off-by: default avatarDavid S. Miller <>
parent 6f8e4ad0
......@@ -28,7 +28,7 @@ static struct cgroup_subsys_state *cgrp_create(struct cgroup_subsys *ss,
static void cgrp_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp);
static int cgrp_populate(struct cgroup_subsys *ss, struct cgroup *cgrp);
static struct cgroup_subsys net_prio_subsys = {
struct cgroup_subsys net_prio_subsys = {
.name = "net_prio",
.create = cgrp_create,
.destroy = cgrp_destroy,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment