diff options
Diffstat (limited to 'net/ipv4/icmp.c')
-rw-r--r-- | net/ipv4/icmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index a142f19fec45..63ffc7d86f98 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c | |||
@@ -696,7 +696,7 @@ static void icmp_unreach(struct sk_buff *skb) | |||
696 | "and DF set.\n", | 696 | "and DF set.\n", |
697 | NIPQUAD(iph->daddr)); | 697 | NIPQUAD(iph->daddr)); |
698 | } else { | 698 | } else { |
699 | info = ip_rt_frag_needed(iph, | 699 | info = ip_rt_frag_needed(&init_net, iph, |
700 | ntohs(icmph->un.frag.mtu)); | 700 | ntohs(icmph->un.frag.mtu)); |
701 | if (!info) | 701 | if (!info) |
702 | goto out; | 702 | goto out; |