diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2017-01-10 07:08:06 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-01-11 09:47:10 -0500 |
| commit | 73b351473547e543e9c8166dd67fd99c64c15b0b (patch) | |
| tree | 4cdca34900357015c050f30992268732c7915119 /net/Kconfig | |
| parent | 7cfd5fd5a9813f1430290d20c0fead9b4582a307 (diff) | |
cgroup: move CONFIG_SOCK_CGROUP_DATA to init/Kconfig
We now 'select SOCK_CGROUP_DATA' but Kconfig complains that this is
not right when CONFIG_NET is disabled and there is no socket interface:
warning: (CGROUP_BPF) selects SOCK_CGROUP_DATA which has unmet direct dependencies (NET)
I don't know what the correct solution for this is, but simply removing
the dependency on NET from SOCK_CGROUP_DATA by moving it out of the
'if NET' section avoids the warning and does not produce other build
errors.
Fixes: 483c4933ea09 ("cgroup: Fix CGROUP_BPF config")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
| -rw-r--r-- | net/Kconfig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/Kconfig b/net/Kconfig index a1005007224c..a29bb4b41c50 100644 --- a/net/Kconfig +++ b/net/Kconfig | |||
| @@ -258,10 +258,6 @@ config XPS | |||
| 258 | config HWBM | 258 | config HWBM |
| 259 | bool | 259 | bool |
| 260 | 260 | ||
| 261 | config SOCK_CGROUP_DATA | ||
| 262 | bool | ||
| 263 | default n | ||
| 264 | |||
| 265 | config CGROUP_NET_PRIO | 261 | config CGROUP_NET_PRIO |
| 266 | bool "Network priority cgroup" | 262 | bool "Network priority cgroup" |
| 267 | depends on CGROUPS | 263 | depends on CGROUPS |
