diff options
Diffstat (limited to 'net/ipv4/xfrm4_mode_tunnel.c')
-rw-r--r-- | net/ipv4/xfrm4_mode_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/xfrm4_mode_tunnel.c b/net/ipv4/xfrm4_mode_tunnel.c index e4deecba6dd2..68a9f56ff09f 100644 --- a/net/ipv4/xfrm4_mode_tunnel.c +++ b/net/ipv4/xfrm4_mode_tunnel.c | |||
@@ -113,7 +113,7 @@ static int xfrm4_tunnel_input(struct xfrm_state *x, struct sk_buff *skb) | |||
113 | iph = ip_hdr(skb); | 113 | iph = ip_hdr(skb); |
114 | if (iph->protocol == IPPROTO_IPIP) { | 114 | if (iph->protocol == IPPROTO_IPIP) { |
115 | if (x->props.flags & XFRM_STATE_DECAP_DSCP) | 115 | if (x->props.flags & XFRM_STATE_DECAP_DSCP) |
116 | ipv4_copy_dscp(iph, ipip_hdr(skb)); | 116 | ipv4_copy_dscp(ipv4_get_dsfield(iph), ipip_hdr(skb)); |
117 | if (!(x->props.flags & XFRM_STATE_NOECN)) | 117 | if (!(x->props.flags & XFRM_STATE_NOECN)) |
118 | ipip_ecn_decapsulate(skb); | 118 | ipip_ecn_decapsulate(skb); |
119 | } | 119 | } |