Skip to content
Commit 3d0dcfbd authored by Li Zefan's avatar Li Zefan Committed by David S. Miller
Browse files

netprio_cgroup: define sk_cgrp_prioidx only if NETPRIO_CGROUP is enabled



sock->sk_cgrp_prioidx won't be used at all if CONFIG_NETPRIO_CGROUP=n.

Signed-off-by: default avatarLi Zefan <lizefan@huawei.com>
Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ccb6e984
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