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>
Showing
- include/linux/ipv6.h 1 addition, 1 deletioninclude/linux/ipv6.h
- include/net/ip6_route.h 6 additions, 1 deletioninclude/net/ip6_route.h
- include/uapi/linux/in6.h 4 additions, 0 deletionsinclude/uapi/linux/in6.h
- net/dccp/ipv6.c 3 additions, 0 deletionsnet/dccp/ipv6.c
- net/ipv6/ip6_output.c 3 additions, 3 deletionsnet/ipv6/ip6_output.c
- net/ipv6/ipv6_sockglue.c 1 addition, 1 deletionnet/ipv6/ipv6_sockglue.c
- net/ipv6/tcp_ipv6.c 3 additions, 0 deletionsnet/ipv6/tcp_ipv6.c
- net/ipv6/udp.c 4 additions, 1 deletionnet/ipv6/udp.c
- net/sctp/input.c 3 additions, 0 deletionsnet/sctp/input.c
Loading
Please register or sign in to comment