commit | 2346829e641b804ece9ac9298136b56d9567c278 | [log] [tgz] |
---|---|---|
author | Dmitry Popov <ixaphire@qrator.net> | Fri Jun 06 23:19:21 2014 +0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 10 23:35:52 2014 -0700 |
tree | 4f10815236c30fbcd7da844848e5d421e34bb758 | |
parent | 87757a917b0b3c0787e0563c679762152be81312 [diff] |
ipip, sit: fix ipv4_{update_pmtu,redirect} calls ipv4_{update_pmtu,redirect} were called with tunnel's ifindex (t->dev is a tunnel netdevice). It caused wrong route lookup and failure of pmtu update or redirect. We should use the same ifindex that we use in ip_route_output_* in *tunnel_xmit code. It is t->parms.link . Signed-off-by: Dmitry Popov <ixaphire@qrator.net> Signed-off-by: David S. Miller <davem@davemloft.net>