]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/icmp.c
inet: make no_pmtu_disc per namespace and kill ipv4_config
[~andy/linux] / net / ipv4 / icmp.c
index 5c0e8bc6e5ba275d2469336533b5848de94ae6c1..1a4ee84ca3f3d9690e6860d031f67056de7a99d7 100644 (file)
@@ -705,7 +705,7 @@ static void icmp_unreach(struct sk_buff *skb)
                case ICMP_PORT_UNREACH:
                        break;
                case ICMP_FRAG_NEEDED:
-                       if (ipv4_config.no_pmtu_disc) {
+                       if (net->ipv4.sysctl_ip_no_pmtu_disc) {
                                LIMIT_NETDEBUG(KERN_INFO pr_fmt("%pI4: fragmentation needed and DF set\n"),
                                               &iph->daddr);
                        } else {