Merge branch 'fix/asoc' into for-linus
[firefly-linux-kernel-4.4.55.git] / net / ipv4 / esp4.c
index 1948895beb6d137c3fb45058c66a96315dc618a0..14ca1f1c3fb0dc7ed78a8029dab489e99298d2f8 100644 (file)
@@ -422,7 +422,7 @@ static void esp4_err(struct sk_buff *skb, u32 info)
            icmp_hdr(skb)->code != ICMP_FRAG_NEEDED)
                return;
 
-       x = xfrm_state_lookup(net, (xfrm_address_t *)&iph->daddr, esph->spi, IPPROTO_ESP, AF_INET);
+       x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, esph->spi, IPPROTO_ESP, AF_INET);
        if (!x)
                return;
        NETDEBUG(KERN_DEBUG "pmtu discovery on SA ESP/%08x/%08x\n",