Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0772b70 authored by Eric Sesterhenn's avatar Eric Sesterhenn Committed by David S. Miller
Browse files

[IPV6]: Fix slab corruption running ip6sic



From: Eric Sesterhenn <snakebyte@gmx.de>

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 65bb723c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -261,7 +261,7 @@ static int xfrm6_tunnel_rcv(struct sk_buff *skb)
	__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,