fix-slab-corruption-running-ip6sic.patch
Subsystems (3)
I have this floating about in my tree. Is it of any interest?
From: Jarek Poplawski <[email protected]>
Quoted 10 lines · * Herbert Xu ([email protected]) wrote:
Quoted 7 lines · Jarek Poplawski
My proposal is: maybe Eric could change this in
xfrm6_tunnel_rcv()fromxfrm6_tunnel.ce.g. like this:return
xfrm6_rcv_spi(skb, spi)> 0 ? : 0;and, if no errors in testing, he could resubmit this patch?
I agree, this is the right fix.
The fix proposed by Jarek indeed fixes the problem, tested on two boxes, with an -rc5 kernel and a yesterdays git
---
net/ipv6/xfrm6_tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv6/xfrm6_tunnel.c renamed from net/ipv6/xfrm6_tunnel.c~fix-slab-corruption-running-ip6sic +1 -1
@@ -261,7 +261,7 @@ static int xfrm6_tunnel_rcv(struct sk_bu__be32 spi; spi =xfrm6_tunnel_spi_lookup ((xfrm_address_t *)&iph->saddr); -return xfrm6_rcv_spi (skb, spi); +return xfrm6_rcv_spi (skb, spi) >0 ? :0 ; } static int xfrm6_tunnel_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
_
David Miller
maintainerFrom: Andrew Morton <[email protected]>
Date: Thu, 26 Apr 2007 14:11:33 -0700
Quoted 2 lines
I have this floating about in my tree. Is it of any interest?
I have it too, it's in my backlog which I'm not processing because I'm trying to fix up how we screwed up both networking "security" fixes by adding a new regression with each one :-)
Quoted 6 lines · Andrew Morton
I have this floating about in my tree. Is it of any interest?
From: Jarek Poplawski <[email protected]>
I know you've more interesting problems, but I'd like to straighten something: this is not my patch!
Please, change this to:
From: Eric Sesterhenn <[email protected]>
Quoted 11 lines · * Herbert Xu ([email protected]) wrote:
Quoted 9 lines
Quoted 7 lines · Jarek Poplawski
My proposal is: maybe Eric could change this in
xfrm6_tunnel_rcv()fromxfrm6_tunnel.ce.g. like this:return
xfrm6_rcv_spi(skb, spi)> 0 ? : 0;and, if no errors in testing, he could resubmit this patch?
Quoted 8 lines
Quoted 1 line
I agree, this is the right fix.
The fix proposed by Jarek indeed fixes the problem, tested on two boxes, with an -rc5 kernel and a yesterdays git
Acked-by Eric Sesterhenn <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
Thanks,
Jarek P.
PS: And this one time it's not a joke... I really mean it.
David Miller
maintainerFrom: Jarek Poplawski <[email protected]>
Date: Fri, 27 Apr 2007 09:18:59 +0200
Quoted 6 lines · Andrew Morton
Quoted 5 lines
I have this floating about in my tree. Is it of any interest?
Quoted 8 lines
Quoted 1 line
From: Jarek Poplawski <[email protected]>
I know you've more interesting problems, but I'd like to straighten something: this is not my patch!
Please, change this to:
From: Eric Sesterhenn <[email protected]>
Patch applied, thanks everyone.