net: netprio: rename config to be more consistent with cgroup configs
While we're at it and introduced CGROUP_NET_CLASSID, lets also make NETPRIO_CGROUP more consistent with the rest of cgroups and rename it into CONFIG_CGROUP_NET_PRIO so that for networking, we now have CONFIG_CGROUP_NET_{PRIO,CLASSID}. This not only makes the CONFIG option consistent among networking cgroups, but also among cgroups CONFIG conventions in general as the vast majority has a prefix of CONFIG_CGROUP_<SUBSYS>. Signed-off-by:Daniel Borkmann <dborkman@redhat.com> Cc: Zefan Li <lizefan@huawei.com> Cc: cgroups@vger.kernel.org Acked-by:
Li Zefan <lizefan@huawei.com> Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org>
Showing
- include/linux/cgroup_subsys.h 1 addition, 1 deletioninclude/linux/cgroup_subsys.h
- include/linux/netdevice.h 1 addition, 1 deletioninclude/linux/netdevice.h
- include/net/netprio_cgroup.h 6 additions, 12 deletionsinclude/net/netprio_cgroup.h
- include/net/sock.h 1 addition, 1 deletioninclude/net/sock.h
- net/Kconfig 2 additions, 2 deletionsnet/Kconfig
- net/core/Makefile 1 addition, 1 deletionnet/core/Makefile
- net/core/dev.c 1 addition, 1 deletionnet/core/dev.c
- net/core/sock.c 1 addition, 1 deletionnet/core/sock.c
Loading
Please register or sign in to comment