diff options
author | David S. Miller <davem@davemloft.net> | 2018-01-24 10:32:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-24 10:32:29 -0500 |
commit | 97edf7c526c117f95ab9ea311f6ac4a46a1f7459 (patch) | |
tree | deca2eb1dd86f45e4e7d1f044f789c6c4a21e6bf /net/ipv6 | |
parent | 848b159835ddef99cc4193083f7e786c3992f580 (diff) | |
parent | 545d8ae7affff7fb4f8bfd327c7c7790056535c4 (diff) | |
download | linux-97edf7c526c117f95ab9ea311f6ac4a46a1f7459.tar.bz2 |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec
Steffen Klassert says:
====================
pull request (net): ipsec 2018-01-24
1) Only offloads SAs after they are fully initialized.
Otherwise a NIC may receive packets on a SA we can
not yet handle in the stack.
From Yossi Kuperman.
2) Fix negative refcount in case of a failing offload.
From Aviad Yehezkel.
3) Fix inner IP ptoro version when decapsulating
from interaddress family tunnels.
From Yossi Kuperman.
4) Use true or false for boolean variables instead of an
integer value in xfrm_get_type_offload.
From Gustavo A. R. Silva.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/xfrm6_mode_tunnel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/xfrm6_mode_tunnel.c b/net/ipv6/xfrm6_mode_tunnel.c index 02556e356f87..dc93002ff9d1 100644 --- a/net/ipv6/xfrm6_mode_tunnel.c +++ b/net/ipv6/xfrm6_mode_tunnel.c @@ -92,6 +92,7 @@ static int xfrm6_mode_tunnel_input(struct xfrm_state *x, struct sk_buff *skb) skb_reset_network_header(skb); skb_mac_header_rebuild(skb); + eth_hdr(skb)->h_proto = skb->protocol; err = 0; |