diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-09-12 18:12:01 +0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-09-14 20:55:57 +0400 |
commit | f3419807716be503c06f399b2bcbc68823be3a78 (patch) | |
tree | 2915c206cfd338883247d0a70b1867b5d57d8bd0 /drivers/net/tun.c | |
parent | 83b061fc09489fb1b827f65cdca014c37ed224bb (diff) | |
download | linux-f3419807716be503c06f399b2bcbc68823be3a78.tar.xz |
cgroup: net_cls: Move sock_update_classid() declaration to cls_cgroup.h
The only user of sock_update_classid() is net/socket.c which happens
to include cls_cgroup.h directly.
tj: Fix build breakage due to missing cls_cgroup.h inclusion in
drivers/net/tun.c reported in linux-next by Stephen.
Signed-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Gao feng <gaofeng@cn.fujitsu.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: John Fastabend <john.r.fastabend@intel.com>
Cc: netdev@vger.kernel.org
Cc: cgroups@vger.kernel.org
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 3a16d4fdaa05..9336b829cc81 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -68,6 +68,7 @@ #include <net/netns/generic.h> #include <net/rtnetlink.h> #include <net/sock.h> +#include <net/cls_cgroup.h> #include <asm/uaccess.h> |