]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6954975b0ef9450bfa51c36b9a46c0ed4e442f69
treea6de846553ca7b5b5015ae59de8d7be3b99e3c14
parentddd14076a840ef6f93e5cbd14951f0ddf728d55a
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