diff --git a/include/net/sock.h b/include/net/sock.h index 93a6745bfdb2bb14933018a9bbc497e6b1c0cde7..182ca99405adfb30e7b72181847b4a5ffd5d69ca 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -367,7 +367,7 @@ struct sock { unsigned short sk_ack_backlog; unsigned short sk_max_ack_backlog; __u32 sk_priority; -#ifdef CONFIG_CGROUPS +#if IS_ENABLED(CONFIG_NETPRIO_CGROUP) __u32 sk_cgrp_prioidx; #endif struct pid *sk_peer_pid;