aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched/user.h')
-rw-r--r--include/linux/sched/user.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched/user.h b/include/linux/sched/user.h
index 5d5415e129d4..3c07e4135127 100644
--- a/include/linux/sched/user.h
+++ b/include/linux/sched/user.h
@@ -36,7 +36,8 @@ struct user_struct {
struct hlist_node uidhash_node;
kuid_t uid;
-#if defined(CONFIG_PERF_EVENTS) || defined(CONFIG_BPF_SYSCALL)
+#if defined(CONFIG_PERF_EVENTS) || defined(CONFIG_BPF_SYSCALL) || \
+ defined(CONFIG_NET)
atomic_long_t locked_vm;
#endif
};