On Mon, May 07, 2007 at 11:57:28AM -0700, Miles Lane wrote:
> [ 118.442018] ieee80211_crypt: registered algorithm 'WEP'
> [ 118.514572] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
> [ 118.514664] Slab corruption: size-256 start=c6aabe98, len=256
> [ 118.514672] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b.
> [ 118.514676] Last user: [<c01b0cfa>](cryptomgr_probe+0x6c/0x9a)
> [ 118.514692] 000: 10 55 ac c6 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> [ 118.514715] Prev obj: start=c6aabd80, len=256
> [ 118.514721] Redzone: 0xd84156c5635688c0/0xd84156c5635688c0.
> [ 118.514725] Last user: [<c01afd85>](crypto_alloc_instance+0x1d/0xc0)
> [ 118.514734] 000: e0 71 39 c0 80 6e 39 c0 88 bd aa c6 88 bd aa c6
> [ 118.514753] 010: 04 00 00 00 01 00 00 00 04 00 00 00 00 00 00 00
Oops. Does this patch fix the problem for you?
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
diff --git a/crypto/cryptomgr.c b/crypto/cryptomgr.c
index 6958ea8..e5fb7cc 100644
--- a/crypto/cryptomgr.c
+++ b/crypto/cryptomgr.c
@@ -24,8 +24,6 @@
#include "internal.h"
struct cryptomgr_param {
- struct task_struct *thread;
-
struct rtattr *tb[CRYPTOA_MAX];
struct {
@@ -81,6 +79,7 @@ err:
static int cryptomgr_schedule_probe(struct crypto_larval *larval)
{
+ struct task_struct *thread;
struct cryptomgr_param *param;
const char *name = larval->alg.cra_name;
const char *p;
@@ -130,8 +129,8 @@ static int cryptomgr_schedule_probe(struct crypto_larval *larval)
memcpy(param->larval.name, larval->alg.cra_name, CRYPTO_MAX_ALG_NAME);
- param->thread = kthread_run(cryptomgr_probe, param, "cryptomgr");
- if (IS_ERR(param->thread))
+ thread = kthread_run(cryptomgr_probe, param, "cryptomgr");
+ if (IS_ERR(thread))
goto err_free_param;
return NOTIFY_STOP;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]