ipv6: support IPV6_PMTU_INTERFACE on sockets
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Sun, 15 Dec 2013 02:41:14 +0000 (03:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2013 22:37:05 +0000 (17:37 -0500)
commit93b36cf3425b9bd9c56df7680fb237686b9c82ae
tree1562e2899394e011e22ce21523dd6ce1defc3ee8
parentcd174e67a6b312fce9bab502ba2b0583e11f537f
ipv6: support IPV6_PMTU_INTERFACE on sockets

IPV6_PMTU_INTERFACE is the same as IPV6_PMTU_PROBE for ipv6. Add it
nontheless for symmetry with IPv4 sockets. Also drop incoming MTU
information if this mode is enabled.

The additional bit in ipv6_pinfo just eats in the padding behind the
bitfield. There are no changes to the layout of the struct at all.

Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ipv6.h
include/net/ip6_route.h
include/uapi/linux/in6.h
net/dccp/ipv6.c
net/ipv6/ip6_output.c
net/ipv6/ipv6_sockglue.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/sctp/input.c