Skip to content

Commit

Permalink
net: fix build error if CONFIG_CGROUPS=n
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Dec 13, 2011
1 parent 11ac75e commit 9f048bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/net/sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
/*
Expand Down

0 comments on commit 9f048bf

Please sign in to comment.