Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753723AbbKWNCQ (ORCPT ); Mon, 23 Nov 2015 08:02:16 -0500 Received: from mail.bmw-carit.de ([62.245.222.98]:43235 "EHLO mail.bmw-carit.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753635AbbKWNCM (ORCPT ); Mon, 23 Nov 2015 08:02:12 -0500 X-CTCH-RefID: str=0001.0A0C0202.56530E4C.0167,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Subject: Re: [PATCH 7/9] sock, cgroup: add sock->sk_cgroup To: Tejun Heo , , , , , , References: <1448122441-9335-1-git-send-email-tj@kernel.org> <1448122441-9335-8-git-send-email-tj@kernel.org> CC: , , , , , , , , , Neil Horman From: Daniel Wagner X-Enigmail-Draft-Status: N1110 Message-ID: <56530E4B.4090209@bmw-carit.de> Date: Mon, 23 Nov 2015 14:02:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1448122441-9335-8-git-send-email-tj@kernel.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 876 Lines: 27 Hi Tejun, On 11/21/2015 05:13 PM, Tejun Heo wrote: > Signed-off-by: Tejun Heo > Cc: Daniel Borkmann > Cc: Daniel Wagner I did a quick test and for new connection the cgroup2 match worked as expected. For an existing connection I wasn't able to trigger the match. It is quite likely I do something wrong: ssh into the box # mkdir /sys/fs/cgroup/test # echo $$ > /sys/fs/cgroup/test/cgroup.procs # echo $PPID > /sys/fs/cgroup/test/cgroup.procs # iptables -A OUTPUT -m cgroup --path test Should I see matches with the existing ssh session? cheers, daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/