OSDN Git Service

ip6_tunnel: clean up ip4ip6 and ip6ip6's err_handlers
authorXin Long <lucien.xin@gmail.com>
Sat, 11 Nov 2017 11:06:53 +0000 (19:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Nov 2017 01:44:05 +0000 (10:44 +0900)
commit77552cfa39c48e695c39d0553afc8c6018e411ce
tree4f7d59f1fe372192fdf08515f0d69dcc761adb80
parentb00f543240b9423eda73ad06c57becdd5478bc26
ip6_tunnel: clean up ip4ip6 and ip6ip6's err_handlers

This patch is to remove some useless codes of redirect and fix some
indents on ip4ip6 and ip6ip6's err_handlers.

Note that redirect icmp packet is already processed in ip6_tnl_err,
the old redirect codes in ip4ip6_err actually never worked even
before this patch. Besides, there's no need to send redirect to
user's sk, it's for lower dst, so just remove it in this patch.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_tunnel.c