projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65bb723
)
[IPV6]: Fix slab corruption running ip6sic
author
Eric Sesterhenn
<snakebyte@gmx.de>
Sun, 29 Apr 2007 04:26:23 +0000
(21:26 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 29 Apr 2007 04:26:23 +0000
(21:26 -0700)
From: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/xfrm6_tunnel.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/xfrm6_tunnel.c
b/net/ipv6/xfrm6_tunnel.c
index 538499a8997506a2336ab10d0c7d457bcea5ae6c..5502cc948dfbb3ddb1a97bed03bd5d2320a8b891 100644
(file)
--- a/
net/ipv6/xfrm6_tunnel.c
+++ b/
net/ipv6/xfrm6_tunnel.c
@@
-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,