]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1028e2988eecd0df24dba9def403d33e47721d91
tree1562e2899394e011e22ce21523dd6ce1defc3ee8
parent2cef56220dc44cc3ce1e2ffe4fb3501033954772
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