On Tue, Sep 25, 2012 at 02:50:08PM -0700, Tim Chen wrote:
> This patch series optimized CRC32C calculations with PCLMULQDQ
> instruction for crc32c-intel module. It speeds up the original
> implementation by 1.6x for 1K buffer and by 3x for buffer 4k or
> more. The tcrypt module was enhanced for
On Fri, Sep 21, 2012 at 12:12:04PM -0400, David Miller wrote:
> From: Jussi Kivilinna
> Date: Fri, 21 Sep 2012 10:27:10 +0300
>
> > Add missing tests for ctr(camellia), lrw(camellia), xts(camellia) and ghash,
> > as these have test vectors available.
> >
> > Signed-off-by: Jussi Kivilinna
>
>
On Fri, Sep 21, 2012 at 12:11:58PM -0400, David Miller wrote:
> From: Jussi Kivilinna
> Date: Fri, 21 Sep 2012 10:26:52 +0300
>
> > Currrently test_aead uses same buffer for destination and source. However
> > in any places, 'dst != src' take different path than 'dst == src' case.
> >
> > Theref
On Wed, Sep 19, 2012 at 02:24:57PM +0300, Jussi Kivilinna wrote:
> cast5/avx incorrectly XORs new IV over old IV at end of CBC encryption
> function when it should store. This causes CBC encryption to give
> incorrect output on multi-page encryption requests.
>
> Signed-off-by: Jussi Kivilinna
P
On Wed, Sep 19, 2012 at 09:42:49AM +0300, Jussi Kivilinna wrote:
> Allow non-multi page and multi page skcipher tests to be run on same test
> template, to avoid
> duplicating data.
>
> Signed-off-by: Jussi Kivilinna
All three patches applied. Thanks!
--
Email: Herbert Xu
Home Page: http://g
On Mon, Sep 17, 2012 at 06:21:55PM -0500, Kim Phillips wrote:
> we need to configure the TRNG to use more clocks per sample
> to handle the two back-to-back 64KiB random descriptor requests
> on higher frequency P5040s.
>
> Signed-off-by: Kim Phillips
Patch applied. Thanks!
--
Email: Herbert X
On Mon, Sep 17, 2012 at 07:28:25PM +0200, Peter Senna Tschudin wrote:
> From: Peter Senna Tschudin
>
> Convert a nonnegative error return code to a negative one, as returned
> elsewhere in the function.
>
> A simplified version of the semantic match that finds this problem is as
> follows: (http
On Sat, Sep 15, 2012 at 03:33:54AM +0300, Horia Geanta wrote:
> According to SEC v5.0-v5.3 reference manuals.
>
> Signed-off-by: Horia Geanta
> Acked-by: Kim Phillips
Patch applied.
--
Email: Herbert Xu
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbe
On Wed, Sep 19, 2012 at 09:40:30AM +0300, Jussi Kivilinna wrote:
> Glue_helper incorrectly XORs new IV over old IV at end of CBC encryption
> function when it should store. This causes CBC encryption to give
> incorrect output on multi-page encryption requests.
>
> Signed-off-by: Jussi Kivilinna
On Wed, Sep 19, 2012 at 09:53:37PM +0300, Horia Geanta wrote:
> Hi Herbert,
>
> I know these patches come late and might not be included in 3.6.
> But two of them are already sitting in cryptodev tree for some time.
> (Don't know where my head was :/).
I'm hesitant to put these patches in at this
On Wed, 2012-09-26 at 13:16 +0930, Rusty Russell wrote:
> David Howells writes:
> > The module signing patches provide:
> >
> > - Some fixes to Rusty's patch. Also an additional patch to extend the
> > policy
> >handling for modules signed with an unknown key and to handle FIPS mode.
>
> O
David Howells writes:
> Rusty Russell wrote:
>
>> We do a very simple search for a particular string appended to the module
>> (which is cache-hot and about to be SHA'd anyway). There's both a config
>> option and a boot parameter which control whether we accept (and taint) or
>> fail with unsi
于 2012年09月26日 23:04, Pablo Neira Ayuso 写道:
> On Wed, Sep 26, 2012 at 08:35:53PM +0800, Gao feng wrote:
>> 于 2012年09月26日 17:58, Pablo Neira Ayuso 写道:
>>> On Wed, Sep 26, 2012 at 05:42:31PM +0800, Gao feng wrote:
Hi Pablo:
于 2012年09月26日 17:26, Pablo Neira Ayuso 写道:
> On Wed, Sep 26
On Wed, Sep 26, 2012 at 09:07:14AM -0700, Stephen Hemminger wrote:
> On Wed, 26 Sep 2012 12:52:11 +0800
> Gao feng wrote:
>
> > struct netlink_dump_control c = {
> > .dump = inet_diag_dump_compat,
> > + .done = netlink_dump
From: Tim Chen
Date: Tue, 25 Sep 2012 14:50:08 -0700
> This patch series optimized CRC32C calculations with PCLMULQDQ
> instruction for crc32c-intel module. It speeds up the original
> implementation by 1.6x for 1K buffer and by 3x for buffer 4k or
> more. The tcrypt module was enhanced for doi
On Wed, 26 Sep 2012 12:52:11 +0800
Gao feng wrote:
> struct netlink_dump_control c = {
> .dump = inet_diag_dump_compat,
> + .done = netlink_dump_done,
> + .module = THIS_MODULE,
>
On Wed, Sep 26, 2012 at 08:35:53PM +0800, Gao feng wrote:
> 于 2012年09月26日 17:58, Pablo Neira Ayuso 写道:
> > On Wed, Sep 26, 2012 at 05:42:31PM +0800, Gao feng wrote:
> >> Hi Pablo:
> >>
> >> 于 2012年09月26日 17:26, Pablo Neira Ayuso 写道:
> >>> On Wed, Sep 26, 2012 at 04:41:21PM +0800, Gao feng wrote:
>
于 2012年09月26日 17:58, Pablo Neira Ayuso 写道:
> On Wed, Sep 26, 2012 at 05:42:31PM +0800, Gao feng wrote:
>> Hi Pablo:
>>
>> 于 2012年09月26日 17:26, Pablo Neira Ayuso 写道:
>>> On Wed, Sep 26, 2012 at 04:41:21PM +0800, Gao feng wrote:
use proper netlink_dump_control.done and .module to avoid panic.
>>
On Wed, Sep 26, 2012 at 05:42:31PM +0800, Gao feng wrote:
> Hi Pablo:
>
> 于 2012年09月26日 17:26, Pablo Neira Ayuso 写道:
> > On Wed, Sep 26, 2012 at 04:41:21PM +0800, Gao feng wrote:
> >> use proper netlink_dump_control.done and .module to avoid panic.
> >>
> >> Signed-off-by: Gao feng
> >> ---
> >>
Hi Pablo:
于 2012年09月26日 17:26, Pablo Neira Ayuso 写道:
> On Wed, Sep 26, 2012 at 04:41:21PM +0800, Gao feng wrote:
>> use proper netlink_dump_control.done and .module to avoid panic.
>>
>> Signed-off-by: Gao feng
>> ---
>> net/netfilter/nf_conntrack_netlink.c |8
>> 1 files changed, 8
On Wed, Sep 26, 2012 at 04:41:21PM +0800, Gao feng wrote:
> use proper netlink_dump_control.done and .module to avoid panic.
>
> Signed-off-by: Gao feng
> ---
> net/netfilter/nf_conntrack_netlink.c |8
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/net/netfilte
于 2012年09月26日 16:41, Gao feng 写道:
> use proper netlink_dump_control.done and .module to avoid panic.
>
> Signed-off-by: Gao feng
> ---
> net/netfilter/nf_conntrack_netlink.c |8
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/net/netfilter/nf_conntrack_netlink.c
Rusty Russell wrote:
> We do a very simple search for a particular string appended to the module
> (which is cache-hot and about to be SHA'd anyway). There's both a config
> option and a boot parameter which control whether we accept (and taint) or
> fail with unsigned modules.
I've adjusted yo
use proper netlink_dump_control.done and .module to avoid panic.
Signed-off-by: Gao feng
---
net/netfilter/nf_conntrack_netlink.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/net/netfilter/nf_conntrack_netlink.c
b/net/netfilter/nf_conntrack_netlink.c
index 980
use proper netlink_dump_control.done and .module to avoid panic.
Signed-off-by: Gao feng
---
net/netfilter/nfnetlink_cthelper.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/netfilter/nfnetlink_cthelper.c
b/net/netfilter/nfnetlink_cthelper.c
index d683619..117343
set netlink_dump_control.done and .module to avoid panic.
Signed-off-by: Gao feng
---
net/ipv4/inet_diag.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/net/ipv4/inet_diag.c b/net/ipv4/inet_diag.c
index 570e61f..36d4be5 100644
--- a/net/ipv4/inet_diag.c
+++ b/net/ip
use proper netlink_dump_control.done and .module to avoid panic.
Signed-off-by: Gao feng
---
net/xfrm/xfrm_user.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
index 289f4bf..852339d 100644
--- a/net/xfrm/xfrm_user
I get a panic when I use ss -a and rmmod inet_diag at the
same time.
it's because netlink_dump use inet_diag_dump witch function
belongs to module inet_diag.
I search the codes and find many modules have the same problem.
We need add reference of the module witch the cb->dump belongs
to.
Thanks
use proper netlink_dump_control.done and .module to avoid panic.
Signed-off-by: Gao feng
Cc: Jozsef Kadlecsik
---
net/netfilter/ipset/ip_set_core.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/net/netfilter/ipset/ip_set_core.c
b/net/netfilter/ipset/ip_set_core.c
i
use proper netlink_dump_control.done and .module to avoid panic.
Signed-off-by: Gao feng
Cc: Roland Dreier
Cc: Sean Hefty
---
drivers/infiniband/core/cma.c |3 ++-
drivers/infiniband/core/netlink.c |2 ++
include/rdma/rdma_netlink.h |1 +
3 files changed, 5 insertions(+),
use proper netlink_dump_control.done and .module to avoid panic.
Signed-off-by: Gao feng
Cc: Herbert Xu
---
crypto/crypto_user.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c
index ba2c611..a9ca2b9 100644
--- a/crypto/
use proper netlink_dump_control.done and .module to avoid panic.
Signed-off-by: Gao feng
---
net/netfilter/nfnetlink_cttimeout.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/netfilter/nfnetlink_cttimeout.c
b/net/netfilter/nfnetlink_cttimeout.c
index cdecbc8..bc3
use proper netlink_dump_control.done and .module to avoid panic.
Signed-off-by: Gao feng
---
net/netfilter/nfnetlink_acct.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/netfilter/nfnetlink_acct.c b/net/netfilter/nfnetlink_acct.c
index b2e7310..1e9cb0f 100644
---
set netlink_dump_control.done and .module to avoid panic.
Signed-off-by: Gao feng
---
net/unix/diag.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/unix/diag.c b/net/unix/diag.c
index 750b134..5e09553 100644
--- a/net/unix/diag.c
+++ b/net/unix/diag.c
@@ -299,6 +2
于 2012年09月26日 15:07, Eric Dumazet 写道:
> On Wed, 2012-09-26 at 12:52 +0800, Gao feng wrote:
>
>> +int netlink_dump_done(struct netlink_callback *cb)
>> +{
>> +if (cb->module)
>> +module_put(cb->module);
>> +return 0;
>> +}
>> +EXPORT_SYMBOL(netlink_dump_done);
>> +
>
> No need
于 2012年09月26日 13:49, Steffen Klassert 写道:
> On Wed, Sep 26, 2012 at 12:52:17PM +0800, Gao feng wrote:
>> use proper netlink_dump_control.done and .module to avoid panic.
>>
>> Signed-off-by: Gao feng
>> Cc: Herbert Xu
>> ---
>> crypto/crypto_user.c |6 +-
>> 1 files changed, 5 insertions
On Wed, 2012-09-26 at 12:52 +0800, Gao feng wrote:
> +int netlink_dump_done(struct netlink_callback *cb)
> +{
> + if (cb->module)
> + module_put(cb->module);
> + return 0;
> +}
> +EXPORT_SYMBOL(netlink_dump_done);
> +
No need to test cb->module being not NULL
int netlink_dum
37 matches
Mail list logo