Skip to content

Commit 9f048bf

Browse files
Eric Dumazetdavem330
authored andcommitted
net: fix build error if CONFIG_CGROUPS=n
Reported-by: Christoph Paasch <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 11ac75e commit 9f048bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/net/sock.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
#include <net/dst.h>
6565
#include <net/checksum.h>
6666

67+
struct cgroup;
68+
struct cgroup_subsys;
6769
int mem_cgroup_sockets_init(struct cgroup *cgrp, struct cgroup_subsys *ss);
6870
void mem_cgroup_sockets_destroy(struct cgroup *cgrp, struct cgroup_subsys *ss);
6971
/*

0 commit comments

Comments
 (0)