]> 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)
commitb36b05b4adf100751cd0eb177a5b9f1208f74bbc
tree667800cbbe808601389a59754448cdf237a51ab8
parentb9f9a90587d31e9d6c5de830ac3f0cf86598f9fa
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