lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpWXbEtv6q-Uj9O+-HPDdBkMj27qo0TYXjzGoQm9cGgicQ@mail.gmail.com>
Date:	Wed, 24 Feb 2016 09:21:55 -0800
From:	Cong Wang <xiyou.wangcong@...il.com>
To:	Jamal Hadi Salim <jhs@...atatu.com>
Cc:	Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [Patch net-next v2 2/2] net_sched: add network namespace support
 for tc actions

On Wed, Feb 24, 2016 at 5:19 AM, Jamal Hadi Salim <jhs@...atatu.com> wrote:
> On 16-02-23 05:23 PM, Cong Wang wrote:
>>
>> On Tue, Feb 23, 2016 at 5:14 AM, Jamal Hadi Salim <jhs@...atatu.com>
>> wrote:
>
>
>>> It doesnt seem neccessary to have hinfo in tc_action. Quick scan:
>>> __tcf_hash_release() seems to be the only other place that uses it.
>>> And the callers to that appear capable of passing the struct
>>> net or tn  which eventually propagates up...
>>
>>
>> The tcf_action_destroy() callchain still can't find out hinfo yet.
>>
>
> Did you mean something else or am i missing the obvious?
> I am looking at the call sites for tcf_action_destroy():
> -tc_dump_tfilter() has access to *net
> -tcf_exts_change() - one level lower it has access to *net; i think you
> added this to your patch too.
> -tcf_action_init() has *net.

Well, having net is not enough, we still need net_id to retrieve hinfo,
and net_id is per module... So it is not easy at all.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ