NetworkManager/src/rdisc
Thomas Haller 84dc64c8af core/rdisc: limit the number of autoconf addresses to 'max_addresses'
NetworkManager uses the sysctl value 'max_addresses' as the kernel does.
There is however a difference in what addresses are taken into account.
The kernel counts all addresses on the interface (including temporary,
private addresses and user configured ones).
NM instead only limits the number of public autoconf addresses to
'max_addresses'. This is because it is difficult for NM to count all
addresses (which can come from different sources) and it is not
necessarily a more logical behavior. Only be aware, that NM uses
the same config value as the kernel, but counts differently.

Especially, the kernel might reach the limit earlier then NM in the
presence of temporary addresses or addresses not from SLAAC.

Note, that the kernel uses 'max_addresses' only to limit public, autoconf
addresses. So this limit does not affect NM adding as many addresses as
it wants.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-01-30 17:04:36 +01:00
..
tests core/rdisc: limit the number of autoconf addresses to 'max_addresses' 2014-01-30 17:04:36 +01:00
Makefile.am trivial: allow building tests from rdisc directory 2013-07-30 11:40:18 +02:00
nm-fake-rdisc.c core/rdisc: limit the number of autoconf addresses to 'max_addresses' 2014-01-30 17:04:36 +01:00
nm-fake-rdisc.h core/rdisc: limit the number of autoconf addresses to 'max_addresses' 2014-01-30 17:04:36 +01:00
nm-lndp-rdisc.c core/rdisc: limit the number of autoconf addresses to 'max_addresses' 2014-01-30 17:04:36 +01:00
nm-lndp-rdisc.h core/rdisc: limit the number of autoconf addresses to 'max_addresses' 2014-01-30 17:04:36 +01:00
nm-rdisc.c rdisc: cleanup handling of NMRDisc->lladdr field 2013-11-09 20:32:23 +01:00
nm-rdisc.h core/rdisc: limit the number of autoconf addresses to 'max_addresses' 2014-01-30 17:04:36 +01:00