Messages in this thread | | | Date | Fri, 6 Jun 2014 17:45:44 -0700 | Subject | Re: [PATCH] ipip, sit: fix ipv4_{update_pmtu,redirect} calls | From | Cong Wang <> |
| |
On Fri, Jun 6, 2014 at 12:19 PM, Dmitry Popov <ixaphire@qrator.net> wrote: > 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> > --- > net/ipv4/ipip.c | 4 ++-- > net/ipv6/sit.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-)
I think vti (v4 and v6) tunnel needs to fix as well?
| |