OSDN Git Service

ip6_tunnel: process toobig in a better way
authorXin Long <lucien.xin@gmail.com>
Sat, 11 Nov 2017 11:06:52 +0000 (19:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Nov 2017 01:44:05 +0000 (10:44 +0900)
commitb00f543240b9423eda73ad06c57becdd5478bc26
treea6de846553ca7b5b5015ae59de8d7be3b99e3c14
parent383c1f88759bba7f387b7b705c31081e5df40b38
ip6_tunnel: process toobig in a better way

The same improvement in "ip6_gre: process toobig in a better way"
is needed by ip4ip6 and ip6ip6 as well.

Note that ip4ip6 and ip6ip6 will also update sk dst pmtu in their
err_handlers. Like I said before, gre6 could not do this as it's
inner proto is not certain. But for all of them, sk dst pmtu will
be updated in tx path if in need.

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