ipv4: Update MTU to all related cache entries in ip_rt_frag_needed()
Add struct net_device parameter to ip_rt_frag_needed() and update MTU to cache entries where ifindex is specified. This is similar to what is already done in ip_rt_redirect(). Signed-off-by: Timo Teras <timo.teras@iki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
980c478ddb
commit
0010e46577
@@ -691,7 +691,8 @@ static void icmp_unreach(struct sk_buff *skb)
|
||||
NIPQUAD(iph->daddr));
|
||||
} else {
|
||||
info = ip_rt_frag_needed(net, iph,
|
||||
ntohs(icmph->un.frag.mtu));
|
||||
ntohs(icmph->un.frag.mtu),
|
||||
skb->dev);
|
||||
if (!info)
|
||||
goto out;
|
||||
}
|
||||
|
Reference in New Issue
Block a user