Subject: [PATCH] cgroup: net_cls: Include missing header with sock_update_classid() definition

From: Daniel Wagner <[email-masked]>
Date: Fri, 14 Sep 2012 16:33:04 +0200

From: Daniel Wagner <[email-masked]>

commit 1f66c0a8833c3974ab6b35edcf4f8585b2f94592
Author: Daniel Wagner <[email-masked]>
Date:   Wed Sep 12 16:12:01 2012 +0200

    cgroup: net_cls: Move sock_update_classid() declaration to cls_cgroup.h

Claimed that there was only net/socket.c depending on
sock_update_class(). That is not true drivers/net/tun.c needs to
include the cls_cgroup.h header too.

Signed-off-by: Daniel Wagner <[email-masked]>
Cc: "David S. Miller" <[email-masked]>
Cc: "Michael S. Tsirkin" <[email-masked]>
Cc: Gao feng <[email-masked]>
Cc: Jamal Hadi Salim <[email-masked]>
Cc: Joe Perches <[email-masked]>
Cc: John Fastabend <[email-masked]>
Cc: Li Zefan <[email-masked]>
Cc: Neil Horman <[email-masked]>
Cc: Rick Jones <[email-masked]>
Cc: Stanislav Kinsbursky <[email-masked]>
Cc: Tejun Heo <[email-masked]>
Cc: [email-masked]
Cc: [email-masked]
---

This version is on top of the latest cgroup for-3.7 branch.

 drivers/net/tun.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 3a16d4f..9336b82 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>
 
-- 
1.7.12.315.g682ce8b