Thread (5 messages) 5 messages, 3 authors, 2013-10-08

Re: [PATCH nf-next] netfilter: xtables: lightweight process control group matching

From: Gao feng <hidden>
Date: 2013-10-07 03:05:55
Also in: cgroups, netfilter-devel

On 10/05/2013 02:20 AM, Daniel Borkmann wrote:
+static void cgroup_attach(struct cgroup_subsys_state *css,
+			  struct cgroup_taskset *tset)
+{
+	struct task_struct *p;
+	void *v;
+
+	cgroup_taskset_for_each(p, css, tset) {
+		task_lock(p);
+		v = (void *)(unsigned long) task_fwid(p);
Shouldn't v be css_nf_state(css)->fwid?
+		iterate_fd(p->files, 0, cgroup_fwid_update, v);
+		task_unlock(p);
+	}
+}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help