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: <20080514122100.GA22726@gondor.apana.org.au>
Date:	Wed, 14 May 2008 20:21:00 +0800
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	Marco Berizzi <pupilla@...mail.com>
Cc:	linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: 2.6.25 crash: EIP: [<c02e2f14>] xfrm_output_resume+0x64/0x100 ss:esp 0068:c03a1e5c

On Wed, May 14, 2008 at 02:03:05PM +0200, Marco Berizzi wrote:
> game over :-((
> 
> I was going forward with git bisect but now kernel
> doesn't compile anymore
>   LD      drivers/misc/built-in.o
>   CC      drivers/net/Space.o
>   CC      drivers/net/loopback.o
> In file included from include/net/sock.h:50,
>                  from drivers/net/loopback.c:53:
> include/linux/pcounter.h: In function 'pcounter_add':
> include/linux/pcounter.h:87: error: 'struct pcounter' has no member
> named 'value'
> make[2]: *** [drivers/net/loopback.o] Error 1
> make[1]: *** [drivers/net] Error 2

This patch should let you test that kernel:

commit e7d0362dd41e760f340c1b500646cc92522bd9d5
Author: Ilpo Järvinen <ilpo.jarvinen@...sinki.fi>
Date:   Mon Nov 26 23:34:54 2007 +0800

    [PCOUNTER] Fix build error without CONFIG_SMP
    
    I keep getting this build error and couldn't find anyone fixing
    it in archives. ...Maybe all net developers except me build
    just SMP kernels :-).
    
    In file included from include/net/sock.h:50,
                     from ipc/mqueue.c:35:
    include/linux/pcounter.h: In function 'pcounter_add':
    include/linux/pcounter.h:87: error: 'struct pcounter' has no
    member named 'value'
    make[1]: *** [ipc/mqueue.o] Error 1
    make: *** [ipc] Error 2
    
    Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@...sinki.fi>
    Acked-by: Arnaldo Carvalho de Melo <acme@...hat.com>
    Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
    Signed-off-by: David S. Miller <davem@...emloft.net>

diff --git a/include/linux/pcounter.h b/include/linux/pcounter.h
index 620aade..9c4760a 100644
--- a/include/linux/pcounter.h
+++ b/include/linux/pcounter.h
@@ -84,7 +84,7 @@ static inline int pcounter_getval(const struct pcounter *self)
 
 static inline void pcounter_add(struct pcounter *self, int inc)
 {
-	self->value += inc;
+	self->val += inc;
 }
 
 static inline int pcounter_getval(const struct pcounter *self)

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ