ipv6: yet another new IPV6_MTU_DISCOVER option IPV6_PMTUDISC_OMIT
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Wed, 26 Feb 2014 00:20:43 +0000 (01:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Feb 2014 20:51:01 +0000 (15:51 -0500)
commit0b95227a7ba7e69f795757cd7c839eff0615f2d1
treec7e343f11b05e29cf4d9ccc4b2026f0002fd78f7
parent1b346576359c72bee34b1476b4fc63d77d37b314
ipv6: yet another new IPV6_MTU_DISCOVER option IPV6_PMTUDISC_OMIT

This option has the same semantic as IP_PMTUDISC_OMIT for IPv4 which
got recently introduced. It doesn't honor the path mtu discovered by the
host but in contrary to IPV6_PMTUDISC_INTERFACE allows the generation of
fragments if the packet size exceeds the MTU of the outgoing interface
MTU.

Fixes: 93b36cf3425b9b ("ipv6: support IPV6_PMTU_INTERFACE on sockets")
Cc: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_route.h
include/uapi/linux/in6.h
net/ipv6/ip6_output.c
net/ipv6/ipv6_sockglue.c