]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: sysctl to restrict candidate source addresses
authorErik Kline <ek@google.com>
Wed, 22 Jul 2015 07:38:25 +0000 (16:38 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2015 17:54:11 +0000 (10:54 -0700)
commit08c4d62a8fb6b326161544f7f3a59c008cf05beb
tree667800cbbe808601389a59754448cdf237a51ab8
parent54eaae1243e6ccf88249eda0e02db8cd701c9f92
ipv6: sysctl to restrict candidate source addresses

Per RFC 6724, section 4, "Candidate Source Addresses":

    It is RECOMMENDED that the candidate source addresses be the set
    of unicast addresses assigned to the interface that will be used
    to send to the destination (the "outgoing" interface).

Add a sysctl to enable this behaviour.

Signed-off-by: Erik Kline <ek@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
include/linux/ipv6.h
include/uapi/linux/ipv6.h
net/ipv6/addrconf.c