• Erik Kline's avatar
    ipv6: sysctl to restrict candidate source addresses · ab98584a
    Erik Kline authored
    
    
    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: default avatarErik Kline <ek@google.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    
    [Simplified back-port of net-next 3985e8a3611a93bb36789f65db862e5700aab65e]
    
    Bug: 19470192
    Bug: 21832279
    Bug: 22464419
    Change-Id: Icd96382f814a6f3ea53f05beb98c266b1929c5a3
    ab98584a
ipv6.h 12 KB