]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: allow PMTU exceptions to local routes
authorJulian Anastasov <ja@ssi.bg>
Sun, 10 Jun 2018 23:02:54 +0000 (02:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jun 2018 21:17:19 +0000 (14:17 -0700)
commit8136d3d8ba941623e8dbe492d0f8ec7be6c5b827
treec5e85064cdc9856153b7def5d53c0c7795a454a1
parent0ad6abc946bb5d8dd1d384f80822d6a3822f695a
ipv6: allow PMTU exceptions to local routes

IPVS setups with local client and remote tunnel server need
to create exception for the local virtual IP. What we do is to
change PMTU from 64KB (on "lo") to 1460 in the common case.

Suggested-by: Martin KaFai Lau <kafai@fb.com>
Fixes: a7bf6f4b7a43 ("ipv6: Only create RTF_CACHE routes after encountering pmtu exception")
Fixes: c9859188b5c8 ("ipv6: Don't create clones of host routes.")
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Acked-by: David Ahern <dsahern@gmail.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c