summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-12-13 04:59:08 +0100
committerDavid S. Miller <davem@davemloft.net>2011-12-13 19:45:17 +0100
commit9f048bfba15a22d1d1ce0c1f44567fa16bed4d25 (patch)
tree981459c56d97324d652a81284100f803cec6d69b /include
parentbe2net: refactor/cleanup vf configuration code (diff)
downloadlinux-9f048bfba15a22d1d1ce0c1f44567fa16bed4d25.tar.xz
linux-9f048bfba15a22d1d1ce0c1f44567fa16bed4d25.zip
net: fix build error if CONFIG_CGROUPS=n
Reported-by: Christoph Paasch <christoph.paasch@uclouvain.be> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/sock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 18ecc9919d29..6fe0dae81451 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -64,6 +64,8 @@
#include <net/dst.h>
#include <net/checksum.h>
+struct cgroup;
+struct cgroup_subsys;
int mem_cgroup_sockets_init(struct cgroup *cgrp, struct cgroup_subsys *ss);
void mem_cgroup_sockets_destroy(struct cgroup *cgrp, struct cgroup_subsys *ss);
/*