GoogleGit

commit0633924e7776754ccb473d649e5fa9ee45617a46[log][tgz]
authorErik Kline <ek@google.com>Wed Jul 22 16:38:25 2015 +0900
committerErik Kline <ek@google.com>Wed Jul 29 10:40:01 2015 +0900
treea21ed5f80939d081e4bdcb83ebe4c907e4af0f8c
parent75bf23fe4bfb1805b411965b5ce3c4b81b957898[diff]
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>

[Simplified back-port of net-next 3985e8a3611a93bb36789f65db862e5700aab65e]

Bug: 19470192
Bug: 21832279
Bug: 22464419
Change-Id: Ib74ef945dcabe64215064f15ee1660b6524d65ce
4 files changed
tree: a21ed5f80939d081e4bdcb83ebe4c907e4af0f8c
  1. .gitignore
  2. .mailmap
  3. COPYING
  4. CREDITS
  5. Documentation/
  6. Kbuild
  7. Kconfig
  8. MAINTAINERS
  9. Makefile
  10. README
  11. REPORTING-BUGS
  12. android/
  13. arch/
  14. block/
  15. crypto/
  16. drivers/
  17. firmware/
  18. fs/
  19. include/
  20. init/
  21. ipc/
  22. kernel/
  23. lib/
  24. mm/
  25. net/
  26. samples/
  27. scripts/
  28. security/
  29. sound/
  30. tools/
  31. usr/
  32. virt/