Re: [systemd-devel] [PATCH 07/12] policy: use the db->entries_hash to access the policy db entries

2014-06-24 Thread Djalal Harouni
Hi, On Fri, Jun 20, 2014 at 07:12:13PM +0100, Djalal Harouni wrote: > On Fri, Jun 20, 2014 at 08:01:04PM +0200, Daniel Mack wrote: > > On 06/20/2014 07:28 PM, Daniel Mack wrote: > > > On 06/20/2014 06:50 PM, Djalal Harouni wrote: > > >> Use the db->entries_hash to access the policy db entries inst

Re: [systemd-devel] [PATCH 07/12] policy: use the db->entries_hash to access the policy db entries

2014-06-20 Thread Djalal Harouni
On Fri, Jun 20, 2014 at 08:01:04PM +0200, Daniel Mack wrote: > On 06/20/2014 07:28 PM, Daniel Mack wrote: > > On 06/20/2014 06:50 PM, Djalal Harouni wrote: > >> Use the db->entries_hash to access the policy db entries instead of the > >> db->send_access_hash which is just a cache for send entries.

Re: [systemd-devel] [PATCH 07/12] policy: use the db->entries_hash to access the policy db entries

2014-06-20 Thread Daniel Mack
On 06/20/2014 07:28 PM, Daniel Mack wrote: > On 06/20/2014 06:50 PM, Djalal Harouni wrote: >> Use the db->entries_hash to access the policy db entries instead of the >> db->send_access_hash which is just a cache for send entries. Ah, you're purging the other entries in patch #12. Alright then, now

Re: [systemd-devel] [PATCH 07/12] policy: use the db->entries_hash to access the policy db entries

2014-06-20 Thread Daniel Mack
On 06/20/2014 06:50 PM, Djalal Harouni wrote: > Use the db->entries_hash to access the policy db entries instead of the > db->send_access_hash which is just a cache for send entries. > > Signed-off-by: Djalal Harouni > --- > policy.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-)

[systemd-devel] [PATCH 07/12] policy: use the db->entries_hash to access the policy db entries

2014-06-20 Thread Djalal Harouni
Use the db->entries_hash to access the policy db entries instead of the db->send_access_hash which is just a cache for send entries. Signed-off-by: Djalal Harouni --- policy.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/policy.c b/policy.c index bf49f68..79d6fa4 10