diff options
author | David S. Miller <davem@davemloft.net> | 2016-09-22 09:56:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 09:56:23 +0300 |
commit | ba1ba25d3159573ffdc9e79e5c3dfcf9c5742964 (patch) | |
tree | c2572c4362e4ceaa7bfc6b2d6136d22026d37c40 /net/ipv6/xfrm6_tunnel.c | |
parent | 290b774a1e0cb385658ba117452e2a2962323b1f (diff) | |
parent | 63c43787d35e45562a6b5927e2edc8f4783d95b8 (diff) | |
download | linux-ba1ba25d3159573ffdc9e79e5c3dfcf9c5742964.tar.xz |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec
Steffen Klassert says:
====================
pull request (net): ipsec 2016-09-21
1) Propagate errors on security context allocation.
From Mathias Krause.
2) Fix inbound policy checks for inter address family tunnels.
From Thomas Zeitlhofer.
3) Fix an old memory leak on aead algorithm usage.
From Ilan Tayari.
4) A recent patch fixed a possible NULL pointer dereference
but broke the vti6 input path.
Fix from Nicolas Dichtel.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_tunnel.c')
-rw-r--r-- | net/ipv6/xfrm6_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/xfrm6_tunnel.c b/net/ipv6/xfrm6_tunnel.c index 5743044cd660..e1c0bbe7996c 100644 --- a/net/ipv6/xfrm6_tunnel.c +++ b/net/ipv6/xfrm6_tunnel.c @@ -236,7 +236,7 @@ static int xfrm6_tunnel_rcv(struct sk_buff *skb) __be32 spi; spi = xfrm6_tunnel_spi_lookup(net, (const xfrm_address_t *)&iph->saddr); - return xfrm6_rcv_spi(skb, IPPROTO_IPV6, spi); + return xfrm6_rcv_spi(skb, IPPROTO_IPV6, spi, NULL); } static int xfrm6_tunnel_err(struct sk_buff *skb, struct inet6_skb_parm *opt, |