]> git.baikalelectronics.ru Git - kernel.git/commit
ip6_gre: add the process for redirect in ip6gre_err
authorXin Long <lucien.xin@gmail.com>
Sat, 11 Nov 2017 11:06:49 +0000 (19:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Nov 2017 01:44:05 +0000 (10:44 +0900)
commit3b11829cd2001ebbf63871994302dd5fe2d62a12
treed891f244d9a5d622685ccc26ca287a73cfb74198
parent4111735c89e20a3b88c3e412a64a7f82ad621395
ip6_gre: add the process for redirect in ip6gre_err

This patch is to add redirect icmp packet process for ip6gre by
calling ip6_redirect() in ip6gre_err(), as in vti6_err.

Prior to this patch, there's even no route cache generated after
receiving redirect.

Reported-by: Jianlin Shi <jishi@redhat.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c