cgroup: net_cls: Move sock_update_classid() declaration to cls_cgroup.h
[deliverable/linux.git] / include / net / cls_cgroup.h
index a4dc5b027bd9cc7731b7fab1146508896c0b215c..e88527a68454671c88ea9f3d0474ca15b1d726bb 100644 (file)
@@ -24,6 +24,8 @@ struct cgroup_cls_state
        u32 classid;
 };
 
+extern void sock_update_classid(struct sock *sk);
+
 #ifdef CONFIG_NET_CLS_CGROUP
 static inline u32 task_cls_classid(struct task_struct *p)
 {
@@ -62,6 +64,10 @@ static inline u32 task_cls_classid(struct task_struct *p)
 }
 #endif
 #else
+static inline void sock_update_classid(struct sock *sk)
+{
+}
+
 static inline u32 task_cls_classid(struct task_struct *p)
 {
        return 0;
This page took 0.039289 seconds and 5 git commands to generate.