From: Dmitry Popov Date: Fri, 6 Jun 2014 19:19:21 +0000 (+0400) Subject: ipip, sit: fix ipv4_{update_pmtu,redirect} calls X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~8^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2346829e641b804ece9ac9298136b56d9567c278;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed