Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[firefly-linux-kernel-4.4.55.git] / net / ipv6 / udp.c
index 1ecd10249488b8962b91327db248569c4a97d1c6..99d0077b56b86f088a4a2fd2819a7b03e0eabd49 100644 (file)
@@ -483,6 +483,8 @@ void __udp6_lib_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
 
        if (type == ICMPV6_PKT_TOOBIG)
                ip6_sk_update_pmtu(skb, sk, info);
+       if (type == NDISC_REDIRECT)
+               ip6_sk_redirect(skb, sk);
 
        np = inet6_sk(sk);